1
0
forked from me/IronOS

Cleaning up config

This commit is contained in:
Ben V. Brown
2021-04-26 21:05:04 +10:00
parent 35f4054530
commit 3e5e0c1d6b
7 changed files with 333 additions and 372 deletions

View File

@@ -158,7 +158,6 @@ uint16_t getInputVoltageX10(uint16_t divisor, uint8_t sample) {
// Therefore we can divide down from there
// Multiplying ADC max by 4 for additional calibration options,
// ideal term is 467
#define BATTFILTERDEPTH 32
static uint8_t preFillneeded = 10;
static uint32_t samples[BATTFILTERDEPTH];
static uint8_t index = 0;