mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 04:30:10 +00:00
add SER_ERR_NOT_OPEN status code
This commit is contained in:
parent
0a8efc9fc3
commit
367ab2d531
@ -48,6 +48,7 @@
|
|||||||
SER_ERR_INIT_FAILED ; Initialization failed
|
SER_ERR_INIT_FAILED ; Initialization failed
|
||||||
SER_ERR_INV_IOCTL ; IOCTL not supported
|
SER_ERR_INV_IOCTL ; IOCTL not supported
|
||||||
SER_ERR_INSTALLED ; A driver is already installed
|
SER_ERR_INSTALLED ; A driver is already installed
|
||||||
|
SER_ERR_NOT_OPEN ; Driver not open
|
||||||
|
|
||||||
SER_ERR_COUNT ; Special: Number of error codes
|
SER_ERR_COUNT ; Special: Number of error codes
|
||||||
.endenum
|
.endenum
|
||||||
|
@ -111,6 +111,7 @@
|
|||||||
#define SER_ERR_INIT_FAILED 0x08 /* Initialization failed */
|
#define SER_ERR_INIT_FAILED 0x08 /* Initialization failed */
|
||||||
#define SER_ERR_INV_IOCTL 0x09 /* IOCTL not supported */
|
#define SER_ERR_INV_IOCTL 0x09 /* IOCTL not supported */
|
||||||
#define SER_ERR_INSTALLED 0x0A /* A driver is already installed */
|
#define SER_ERR_INSTALLED 0x0A /* A driver is already installed */
|
||||||
|
#define SER_ERR_NOT_OPEN 0x0B /* Driver is not open */
|
||||||
|
|
||||||
/* Struct containing parameters for the serial port */
|
/* Struct containing parameters for the serial port */
|
||||||
struct ser_params {
|
struct ser_params {
|
||||||
|
Loading…
Reference in New Issue
Block a user