@@ -10,6 +10,8 @@
#define LUAT_LOG_ERROR 4
#define LUAT_LOG_CLOSE 7
+extern uint8_t luat_log_uart_port;
+
// void luat_print(const char* _str);
void luat_nprint(char *s, size_t l);
void luat_log_write(char *s, size_t l);
@@ -6,7 +6,7 @@
#include "luat_cmux.h"
#include "luat_conf_bsp.h"
-static uint8_t luat_log_uart_port = 0;
+uint8_t luat_log_uart_port = 0;
static uint8_t luat_log_level_cur = LUAT_LOG_DEBUG;
#define LOGLOG_SIZE 1024