forked from xuos/xiuos
update lorawan submodule, fix create event bug
This commit is contained in:
parent
dc25947261
commit
d4b47088d2
|
@ -76,7 +76,7 @@ void Uart485Init(uint32_t baud_rate, uint8_t data_bits, uint8_t stop_bits, uint8
|
||||||
ioctl_cfg.args = &pin_param;
|
ioctl_cfg.args = &pin_param;
|
||||||
PrivIoctl(pin_fd, OPE_CFG, &ioctl_cfg);
|
PrivIoctl(pin_fd, OPE_CFG, &ioctl_cfg);
|
||||||
|
|
||||||
uart_fd = open(CONTROL_FRAMEWORK_UART_DEV, O_RDWR);
|
uart_fd = PrivOpen(CONTROL_FRAMEWORK_UART_DEV, O_RDWR);
|
||||||
if (uart_fd < 0) {
|
if (uart_fd < 0) {
|
||||||
printf("open fd error %d\n", uart_fd);
|
printf("open fd error %d\n", uart_fd);
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -43,6 +43,9 @@ extern "C" {
|
||||||
|
|
||||||
#define NAME_NUM_MAX 32
|
#define NAME_NUM_MAX 32
|
||||||
|
|
||||||
|
#define LINKLIST_FLAG_FIFO 0x00
|
||||||
|
#define LINKLIST_FLAG_PRIO 0x01
|
||||||
|
|
||||||
#ifndef EVENT_AND
|
#ifndef EVENT_AND
|
||||||
#define EVENT_AND (1 << 0)
|
#define EVENT_AND (1 << 0)
|
||||||
#endif
|
#endif
|
||||||
|
@ -169,6 +172,8 @@ struct SerialDataCfg
|
||||||
uint16_t serial_buffer_size;
|
uint16_t serial_buffer_size;
|
||||||
int32 serial_timeout;
|
int32 serial_timeout;
|
||||||
|
|
||||||
|
int (*dev_recv_callback) (void *dev, size_t length);
|
||||||
|
|
||||||
uint8_t is_ext_uart;
|
uint8_t is_ext_uart;
|
||||||
uint8_t ext_uart_no;
|
uint8_t ext_uart_no;
|
||||||
enum ExtSerialPortConfigure port_configure;
|
enum ExtSerialPortConfigure port_configure;
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 1c3adb9154f30ed25877ae00f81a636d28141b08
|
Subproject commit 2d8abd3eff2a2d5257e17c7f59acb2ba938cb90e
|
|
@ -1 +1 @@
|
||||||
Subproject commit dbced0da18e8378f2a5c921a67321b7a88401465
|
Subproject commit 197c320b9917366b6107db30b05bbb51254e7eb4
|
|
@ -1 +1 @@
|
||||||
Subproject commit 1ad4dbc9ddf9472f461e19b8321b68b240fb7827
|
Subproject commit 6ec2a3d2645b63a6d3d9c4db9f23c653525efbdf
|
Loading…
Reference in New Issue