summaryrefslogtreecommitdiff
path: root/include/hybbx/tnc2c.h
blob: 42f527759b8935ab82d3e11965f518f1c81f6f39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef HYBBX_TNC2C_H
#define HYBBX_TNC2C_H

/**
 * Backward-compatible header for the Landolt TNC2C driver.
 * New code should include hybbx/tnc.h.
 */

#include "hybbx/tnc.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef hybbx_tnc_t hybbx_tnc2c_t;
typedef hybbx_tnc_params_t hybbx_tnc2c_params_t;

/* hybbx_tnc2c_open removed — use hybbx_tnc_open() with RX callback. */
#define hybbx_tnc2c_close hybbx_tnc_close
#define hybbx_tnc2c_poll hybbx_tnc_poll
#define hybbx_tnc2c_send_frame hybbx_tnc_send_frame

#ifdef __cplusplus
}
#endif

#endif /* HYBBX_TNC2C_H */
git clone -b <branch> https://cgit.mode42.com/<repo>.git
git clone -b <branch> git://cgit.mode42.com/<repo>.git

info@mode42.com