1
0
forked from me/IronOS

Removed unused

This commit is contained in:
Ben V. Brown
2021-09-15 18:53:07 +10:00
parent 3d992512f4
commit e18c877a96
2 changed files with 3 additions and 7 deletions

View File

@@ -21,9 +21,7 @@ uint16_t totalPWM; // htim2.Init.Period, the full PWM cycle
static bool fastPWM;
// 2 second filter (ADC is PID_TIM_HZ Hz)
history<uint16_t, PID_TIM_HZ> rawTempFilter = {{0}, 0, 0};
void resetWatchdog() { HAL_IWDG_Refresh(&hiwdg); }
void resetWatchdog() { HAL_IWDG_Refresh(&hiwdg); }
#ifdef TEMP_NTC
// Lookup table for the NTC
// Stored as ADCReading,Temp in degC

View File

@@ -15,11 +15,9 @@ const uint16_t powerPWM = 255;
const uint8_t holdoffTicks = 10;
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)
history<uint16_t, PID_TIM_HZ> rawTempFilter = {{0}, 0, 0};
void resetWatchdog() { fwdgt_counter_reload(); }
void resetWatchdog() { fwdgt_counter_reload(); }
uint16_t getHandleTemperature(uint8_t sample) {
#ifdef TEMP_TMP36