aboutsummaryrefslogtreecommitdiff
path: root/hwdef-Noctigon_K1.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2020-04-26 22:12:31 -0600
committerSelene ToyKeeper2020-04-26 22:12:31 -0600
commit08781957244b9a30c9abc7425ff023d36f7e9160 (patch)
tree3fe8c1c7a986183094ae53af2d3fbee5b8790e7b /hwdef-Noctigon_K1.h
parentmerged Noctigon KR4 branch, including recent ADC+thermal rewrite (diff)
downloadanduril-08781957244b9a30c9abc7425ff023d36f7e9160.tar.gz
anduril-08781957244b9a30c9abc7425ff023d36f7e9160.tar.bz2
anduril-08781957244b9a30c9abc7425ff023d36f7e9160.zip
applied ADC rewrite updates to most recent build targets
Diffstat (limited to 'hwdef-Noctigon_K1.h')
-rw-r--r--hwdef-Noctigon_K1.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwdef-Noctigon_K1.h b/hwdef-Noctigon_K1.h
index 031bec0..8c8a4db 100644
--- a/hwdef-Noctigon_K1.h
+++ b/hwdef-Noctigon_K1.h
@@ -71,7 +71,7 @@
// REFS[1:0] = 1, 0 for internal 1.1V reference
// other bits reserved
#define ADMUX_VOLTAGE_DIVIDER 0b10000110
-#define ADC_PRSCL 0x06 // clk/64
+#define ADC_PRSCL 0x07 // clk/128
// Raw ADC readings at 4.4V and 2.2V
// calibrate the voltage readout here