Skip to content

Commit

Permalink
Add Haritora to consts (#333)
Browse files Browse the repository at this point in the history
Add haritora consts, fix misspelling
  • Loading branch information
JovannMC authored and Spacefish committed Jun 28, 2024
1 parent 02bb9d3 commit 233b256
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/consts.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -128,22 +129,23 @@ 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
#define MCU_WRANGLER 4 // Only used by wrangler app
#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
#define HARDWARE_MCU MCU_ESP8266
#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
Expand Down

0 comments on commit 233b256

Please sign in to comment.