aboutsummaryrefslogtreecommitdiff
path: root/hwdef-BLF_GT.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2020-04-26 22:03:22 -0600
committerSelene ToyKeeper2020-04-26 22:03:22 -0600
commitd4cdfd20e21a332aa6d191955998ee460f243c0d (patch)
treed79dc759421112eefc05401828efa21c7de11176 /hwdef-BLF_GT.h
parentfixed eeprom corruption after turning boost chip on/off (diff)
parentadded tweakable thermal_response_magnitude option, adjusted KR4 thermal vars,... (diff)
downloadanduril-d4cdfd20e21a332aa6d191955998ee460f243c0d.tar.gz
anduril-d4cdfd20e21a332aa6d191955998ee460f243c0d.tar.bz2
anduril-d4cdfd20e21a332aa6d191955998ee460f243c0d.zip
merged Noctigon KR4 branch, including recent ADC+thermal rewrite
Diffstat (limited to 'hwdef-BLF_GT.h')
-rw-r--r--hwdef-BLF_GT.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwdef-BLF_GT.h b/hwdef-BLF_GT.h
index 8ad99c7..99adc8f 100644
--- a/hwdef-BLF_GT.h
+++ b/hwdef-BLF_GT.h
@@ -42,7 +42,7 @@
// 1.1V reference, no left-adjust, ADC1/PB2
#define ADMUX_VOLTAGE_DIVIDER ((1 << V_REF) | VOLTAGE_CHANNEL)
#endif
-#define ADC_PRSCL 0x06 // clk/64
+#define ADC_PRSCL 0x07 // clk/128
// Raw ADC readings at 4.4V and 2.2V (in-between, we assume values form a straight line)
#ifndef ADC_44