mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-08-19 02:43:27 +08:00
23 lines
366 B
C
23 lines
366 B
C
#ifndef __INTERFACE_UART_HPP
|
|
#define __INTERFACE_UART_HPP
|
|
|
|
#ifdef __cplusplus
|
|
#include "fibre/protocol.hpp"
|
|
extern StreamSink* uart4_stream_output_ptr;
|
|
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <cmsis_os.h>
|
|
|
|
extern osThreadId uart_thread;
|
|
extern const uint32_t stack_size_uart_thread;
|
|
|
|
void start_uart_server(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // __INTERFACE_UART_HPP
|