diff --git a/src/consts.h b/src/consts.h index dde5ad66d..a6640879a 100644 --- a/src/consts.h +++ b/src/consts.h @@ -83,6 +83,7 @@ enum class ImuID { #define BOARD_MOCOPI 15 // Used by mocopi/moslime #define BOARD_WEMOSWROOM02 16 #define BOARD_XIAO_ESP32C3 17 +#define BOARD_HARITORA 18 // Used by Haritora/SlimeTora #define BOARD_DEV_RESERVED 250 // Reserved, should not be used in any release firmware #define BAT_EXTERNAL 1 @@ -127,7 +128,7 @@ enum class ImuID { #define BMI160_MAG_TYPE_HMC 1 #define BMI160_MAG_TYPE_QMC 2 -#define MCU_UKNOWN 0 +#define MCU_UNKNOWN 0 #define MCU_ESP8266 1 #define MCU_ESP32 2 #define MCU_OWOTRACK_ANDROID 3 // Only used by owoTrack mobile app @@ -135,6 +136,7 @@ enum class ImuID { #define MCU_OWOTRACK_IOS 5 // Only used by owoTrack mobile app #define MCU_ESP32_C3 6 #define MCU_MOCOPI 7 // Used by mocopi/moslime +#define MCU_HARITORA 8 // Used by Haritora/SlimeTora #define MCU_DEV_RESERVED 250 // Reserved, should not be used in any release firmware #ifdef ESP8266 @@ -142,7 +144,7 @@ enum class ImuID { #elif defined(ESP32) #define HARDWARE_MCU MCU_ESP32 #else - #define HARDWARE_MCU MCU_UKNOWN + #define HARDWARE_MCU MCU_UNKNOWN #endif #define CURRENT_CONFIGURATION_VERSION 1