Update configuration #defines

More backported functions
This commit is contained in:
Ben V. Brown
2022-07-25 21:08:08 +10:00
parent bab66acaad
commit e0ec44c10d
11 changed files with 200 additions and 182 deletions

View File

@@ -154,7 +154,7 @@ uint8_t lastTipResistance = 0; // default to unknown
const uint8_t numTipResistanceReadings = 3;
uint32_t tipResistanceReadings[3] = {0, 0, 0};
uint8_t tipResistanceReadingSlot = 0;
uint8_t getTipResitanceX10() {
uint8_t getTipResistanceX10() {
// Return tip resistance in x10 ohms
// We can measure this using the op-amp
return lastTipResistance;

View File

@@ -142,6 +142,7 @@
#define POW_QC_20V 1 // Supported features
#define POW_EPR 1
#define ENABLE_QC2 1
#define DEVICE_HAS_VALIDATION_SUPPORT
#define TEMP_NTC
#define ACCEL_BMA
#define ACCEL_SC7