diff options
| author | Selene ToyKeeper | 2020-03-16 03:44:42 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2020-03-16 03:44:42 -0600 |
| commit | 2ac137648d6769ebf31eed9932bd868ca28c05e5 (patch) | |
| tree | 05f9e239c55c1d851af32cbf5ab711d1b5261cb9 /hwdef-BLF_GT.h | |
| parent | mention the maximum allowed temperature in the manual (diff) | |
| parent | fixed a few things in ramping-ui, rampingiosv3, and werner's UI (diff) | |
| download | anduril-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-BLF_GT.h')
| -rw-r--r-- | hwdef-BLF_GT.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hwdef-BLF_GT.h b/hwdef-BLF_GT.h index 01dbdbd..f0ac103 100644 --- a/hwdef-BLF_GT.h +++ b/hwdef-BLF_GT.h @@ -40,7 +40,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 |
