forked from ROMEO/obsw
switched to UDP from UNIX Socket
This commit is contained in:
@ -18,7 +18,7 @@ void test_hardware() {
|
||||
int fd1 = hw_device_open("uart1", 5);
|
||||
write(fd1, "uart1\n", 6);
|
||||
|
||||
vTaskDelay(3000 / portTICK_PERIOD_MS);
|
||||
vTaskDelay(1 / portTICK_PERIOD_MS);
|
||||
|
||||
uint8_t buffer[100];
|
||||
int read_bytes = read(fd0, buffer, sizeof(buffer));
|
||||
|
Reference in New Issue
Block a user