Update BSP.cpp
This commit is contained in:
@@ -17,7 +17,7 @@ const uint8_t tempMeasureTicks = 25;
|
|||||||
uint16_t totalPWM; // htim2.Init.Period, the full PWM cycle
|
uint16_t totalPWM; // htim2.Init.Period, the full PWM cycle
|
||||||
|
|
||||||
// 2 second filter (ADC is PID_TIM_HZ Hz)
|
// 2 second filter (ADC is PID_TIM_HZ Hz)
|
||||||
history<uint16_t, PID_TIM_HZ> rawTempFilter = {{0}, 0, 0};
|
history<uint16_t, PID_TIM_HZ> rawTempFilter = { { 0 }, 0, 0 };
|
||||||
void resetWatchdog() {
|
void resetWatchdog() {
|
||||||
fwdgt_counter_reload();
|
fwdgt_counter_reload();
|
||||||
}
|
}
|
||||||
@@ -124,4 +124,6 @@ void reboot() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void delay_ms(uint16_t count) { delay_1ms(count); }
|
void delay_ms(uint16_t count) {
|
||||||
|
delay_1ms(count);
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user