Oliver Fabel 1 rok temu
rodzic
commit
71e48be14d
1 zmienionych plików z 6 dodań i 6 usunięć
  1. 6 6
      mp_flipper_logging.h

+ 6 - 6
mp_flipper_logging.h

@@ -3,12 +3,12 @@
 #include <stdint.h>
 #include <stdint.h>
 #include <stdbool.h>
 #include <stdbool.h>
 
 
-extern uint8_t MP_FLIPPER_LOG_LEVEL_TRACE;
-extern uint8_t MP_FLIPPER_LOG_LEVEL_DEBUG;
-extern uint8_t MP_FLIPPER_LOG_LEVEL_INFO;
-extern uint8_t MP_FLIPPER_LOG_LEVEL_WARN;
-extern uint8_t MP_FLIPPER_LOG_LEVEL_ERROR;
-extern uint8_t MP_FLIPPER_LOG_LEVEL_NONE;
+extern const uint8_t MP_FLIPPER_LOG_LEVEL_TRACE;
+extern const uint8_t MP_FLIPPER_LOG_LEVEL_DEBUG;
+extern const uint8_t MP_FLIPPER_LOG_LEVEL_INFO;
+extern const uint8_t MP_FLIPPER_LOG_LEVEL_WARN;
+extern const uint8_t MP_FLIPPER_LOG_LEVEL_ERROR;
+extern const uint8_t MP_FLIPPER_LOG_LEVEL_NONE;
 
 
 uint8_t mp_flipper_log_get_effective_level();
 uint8_t mp_flipper_log_get_effective_level();
 bool mp_flipper_log_level_is_valid(uint8_t level);
 bool mp_flipper_log_level_is_valid(uint8_t level);