diff options
author | Ben V. Brown <[email protected]> | 2022-08-23 09:30:49 +1000 |
---|---|---|
committer | GitHub <[email protected]> | 2022-08-23 09:30:49 +1000 |
commit | 67d2eda7de048ce6d3476a93f41ecf2366179afc (patch) | |
tree | 26ed1ef25e83dcb5e3691ca96bf4149b06eed87f /source/Core/BSP/MHP30 | |
parent | 3a44259735fbbfed48ccab97889b9c7d6777b1aa (diff) | |
download | IronOS-67d2eda7de048ce6d3476a93f41ecf2366179afc.tar.gz IronOS-67d2eda7de048ce6d3476a93f41ecf2366179afc.zip |
Add SC7 accelerometer for MHP30 (#1377)
Diffstat (limited to 'source/Core/BSP/MHP30')
-rw-r--r-- | source/Core/BSP/MHP30/configuration.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/Core/BSP/MHP30/configuration.h b/source/Core/BSP/MHP30/configuration.h index fed535ad..bee0914c 100644 --- a/source/Core/BSP/MHP30/configuration.h +++ b/source/Core/BSP/MHP30/configuration.h @@ -142,7 +142,10 @@ #define MIN_BOOST_TEMP_F 300 // The min settable temp for boost mode °F #define NO_DISPLAY_ROTATE // Disable OLED rotation by accel #define SLEW_LIMIT 50 // Limit to 3.0 Watts per 64ms pid loop update rate slew rate + +#define ACCEL_SC7 #define ACCEL_MSA + #define POW_PD 1 #define TEMP_NTC #define I2C_SOFT @@ -161,4 +164,4 @@ #endif #endif -#define FLASH_LOGOADDR (0x08000000 + (62 * 1024))
\ No newline at end of file +#define FLASH_LOGOADDR (0x08000000 + (62 * 1024)) |