aboutsummaryrefslogtreecommitdiff
path: root/hwdef-FW3A.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2020-03-16 03:44:42 -0600
committerSelene ToyKeeper2020-03-16 03:44:42 -0600
commit2ac137648d6769ebf31eed9932bd868ca28c05e5 (patch)
tree05f9e239c55c1d851af32cbf5ab711d1b5261cb9 /hwdef-FW3A.h
parentmention the maximum allowed temperature in the manual (diff)
parentfixed a few things in ramping-ui, rampingiosv3, and werner's UI (diff)
downloadanduril-2ac137648d6769ebf31eed9932bd868ca28c05e5.tar.gz
anduril-2ac137648d6769ebf31eed9932bd868ca28c05e5.tar.bz2
anduril-2ac137648d6769ebf31eed9932bd868ca28c05e5.zip
merged adc-rework branch, which rewrote all ADC code (voltage, temperature, and everything touched by those)
and seems to greatly improve the thermal regulation
Diffstat (limited to 'hwdef-FW3A.h')
-rw-r--r--hwdef-FW3A.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwdef-FW3A.h b/hwdef-FW3A.h
index 0b94635..a223b08 100644
--- a/hwdef-FW3A.h
+++ b/hwdef-FW3A.h
@@ -35,7 +35,7 @@
//#define ADC_CHANNEL 0x01 // MUX 01 corresponds with PB2
//#define ADC_DIDR ADC1D // Digital input disable bit corresponding with PB2
#endif
-#define ADC_PRSCL 0x06 // clk/64
+#define ADC_PRSCL 0x07 // clk/128
// average drop across diode on this hardware
#ifndef VOLTAGE_FUDGE_FACTOR