diff options
| author | Selene ToyKeeper | 2019-11-25 18:41:24 -0700 |
|---|---|---|
| committer | Selene ToyKeeper | 2019-11-25 18:41:24 -0700 |
| commit | 1ab6cd428c3b43a80ffac01f29ca0c27a438e3b1 (patch) | |
| tree | 50b646d29d4b93f3fac409371f734eea3b7f5e8a /hwdef-BLF_GT.h | |
| parent | made the button LED turn off in momentary mode, instead of staying on forever (diff) | |
| download | anduril-1ab6cd428c3b43a80ffac01f29ca0c27a438e3b1.tar.gz anduril-1ab6cd428c3b43a80ffac01f29ca0c27a438e3b1.tar.bz2 anduril-1ab6cd428c3b43a80ffac01f29ca0c27a438e3b1.zip | |
calibrated Noctigon K1, changed voltage divider calibration values to 10-bit (was 8-bit before)
Diffstat (limited to 'hwdef-BLF_GT.h')
| -rw-r--r-- | hwdef-BLF_GT.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hwdef-BLF_GT.h b/hwdef-BLF_GT.h index dd8d80a..8ad99c7 100644 --- a/hwdef-BLF_GT.h +++ b/hwdef-BLF_GT.h @@ -46,10 +46,10 @@ // Raw ADC readings at 4.4V and 2.2V (in-between, we assume values form a straight line) #ifndef ADC_44 -#define ADC_44 184 +#define ADC_44 (184*4) #endif #ifndef ADC_22 -#define ADC_22 92 +#define ADC_22 (92*4) #endif #define TEMP_CHANNEL 0b00001111 |
