mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Removed unused
This commit is contained in:
@@ -21,9 +21,7 @@ uint16_t totalPWM; // htim2.Init.Period, the full PWM cycle
|
|||||||
|
|
||||||
static bool fastPWM;
|
static bool fastPWM;
|
||||||
|
|
||||||
// 2 second filter (ADC is PID_TIM_HZ Hz)
|
void resetWatchdog() { HAL_IWDG_Refresh(&hiwdg); }
|
||||||
history<uint16_t, PID_TIM_HZ> rawTempFilter = {{0}, 0, 0};
|
|
||||||
void resetWatchdog() { HAL_IWDG_Refresh(&hiwdg); }
|
|
||||||
#ifdef TEMP_NTC
|
#ifdef TEMP_NTC
|
||||||
// Lookup table for the NTC
|
// Lookup table for the NTC
|
||||||
// Stored as ADCReading,Temp in degC
|
// Stored as ADCReading,Temp in degC
|
||||||
|
|||||||
@@ -15,11 +15,9 @@ const uint16_t powerPWM = 255;
|
|||||||
const uint8_t holdoffTicks = 10;
|
const uint8_t holdoffTicks = 10;
|
||||||
const uint8_t tempMeasureTicks = 14;
|
const uint8_t tempMeasureTicks = 14;
|
||||||
|
|
||||||
uint16_t totalPWM; // htim2.Init.Period, the full PWM cycle
|
uint16_t totalPWM; // Total length of the cycle's ticks
|
||||||
|
|
||||||
// 2 second filter (ADC is PID_TIM_HZ Hz)
|
void resetWatchdog() { fwdgt_counter_reload(); }
|
||||||
history<uint16_t, PID_TIM_HZ> rawTempFilter = {{0}, 0, 0};
|
|
||||||
void resetWatchdog() { fwdgt_counter_reload(); }
|
|
||||||
|
|
||||||
uint16_t getHandleTemperature(uint8_t sample) {
|
uint16_t getHandleTemperature(uint8_t sample) {
|
||||||
#ifdef TEMP_TMP36
|
#ifdef TEMP_TMP36
|
||||||
|
|||||||
Reference in New Issue
Block a user