HAL LFRFID: fix resistor heating on f5 target (#470)
Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -53,10 +53,10 @@ void RfidTimerEmulator::start(Type type) {
|
||||
|
||||
void RfidTimerEmulator::stop() {
|
||||
api_hal_rfid_tim_emulate_stop();
|
||||
api_interrupt_remove(timer_update_callback, InterruptTypeTimerUpdate);
|
||||
|
||||
api_hal_rfid_tim_reset();
|
||||
api_hal_rfid_pins_reset();
|
||||
|
||||
api_interrupt_remove(timer_update_callback, InterruptTypeTimerUpdate);
|
||||
}
|
||||
|
||||
void RfidTimerEmulator::timer_update_callback(void* _hw, void* ctx) {
|
||||
|
Reference in New Issue
Block a user