* Do not include system headers in shared files (stdlib.h). * Don't include lcd.h only once in each driver. * Remove some unnecessary headers from driver (e.g. syslog.h) * Include <poll.h> instead of <sys/poll.h> * Spelling fixes.
19 lines
344 B
C
19 lines
344 B
C
#ifndef HD_USBTINY_H
|
|
#define HD_USBTINY_H
|
|
|
|
#include "lcd.h" /* for Driver */
|
|
|
|
/* vendor and product id */
|
|
#define USBTINY_VENDORID 0x03EB
|
|
#define USBTINY_PRODUCTID 0x0002
|
|
|
|
/* Protocole IR/LCD */
|
|
#define USBTINY_INSTR 20
|
|
#define USBTINY_DATA 21
|
|
|
|
|
|
/* initialise this particular driver */
|
|
int hd_init_usbtiny(Driver *drvthis);
|
|
|
|
#endif
|