Removed unused
This commit is contained in:
@@ -21,8 +21,6 @@ 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)
|
|
||||||
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
|
#ifdef TEMP_NTC
|
||||||
// Lookup table for the NTC
|
// Lookup table for the NTC
|
||||||
|
|||||||
@@ -15,10 +15,8 @@ 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)
|
|
||||||
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) {
|
uint16_t getHandleTemperature(uint8_t sample) {
|
||||||
|
|||||||
Reference in New Issue
Block a user