Skip to content

Commit

Permalink
Add Haritora to consts (SlimeVR#333)
Browse files Browse the repository at this point in the history
Add haritora consts, fix misspelling
  • Loading branch information
JovannMC authored Jun 25, 2024
1 parent ea00beb commit fef504e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/consts.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -127,22 +128,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 fef504e

Please sign in to comment.