Files
obsw/bsp_linux/hardware/serial.h
T

6 lines
145 B
C

#pragma once
#include <stdlib.h>
// returns fd if success, -1 if no path match <-1 if error
int serial_open(const char *path, size_t path_len);