We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f1a72e commit be3dcccCopy full SHA for be3dccc
tools/monitor.c
@@ -9,13 +9,13 @@
9
#include <fts.h> // FTS stuff
10
11
/// @brief Max path size for the serial device
12
-#define PATH_MAX 4096
+#define SERIAL_PATH_MAX 4096
13
14
/// @brief Size of the serial buffers
15
const size_t read_size = 8ul * 1024ul;
16
17
/// @brief Max size of the serial path, - 1 for null terminator
18
-const size_t SERIAL_PATH_SIZE = PATH_MAX - 1;
+const size_t SERIAL_PATH_SIZE = SERIAL_PATH_MAX - 1;
19
20
/// @brief In serial buffer
21
char* in_buffer = NULL;
0 commit comments