From 233b2565dac4249fed2bbe778db7e896370d6283 Mon Sep 17 00:00:00 2001 From: JovannMC Date: Tue, 25 Jun 2024 14:36:31 +0300 Subject: [PATCH] Add Haritora to consts (#333) Add haritora consts, fix misspelling --- src/consts.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/consts.h b/src/consts.h index b53a049d6..47b4ca1ff 100644 --- a/src/consts.h +++ b/src/consts.h @@ -83,7 +83,8 @@ enum class ImuID { #define BOARD_MOCOPI 15 // Used by mocopi/moslime #define BOARD_WEMOSWROOM02 16 #define BOARD_XIAO_ESP32C3 17 -#define BOARD_ES32C6DEVKITC1 18 +#define BOARD_HARITORA 18 // Used by Haritora/SlimeTora +#define BOARD_ES32C6DEVKITC1 19 #define BOARD_DEV_RESERVED 250 // Reserved, should not be used in any release firmware #define BAT_EXTERNAL 1 @@ -128,7 +129,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 @@ -136,6 +137,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 @@ -143,7 +145,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