mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-11-24 11:14:26 +03:00
ApiHalNfc: exit sleep mode before activating field and vice versa (#456)
This commit is contained in:
parent
a975fb6dc5
commit
6f58a53dc0
@ -16,11 +16,13 @@ bool api_hal_nfc_is_busy() {
|
||||
}
|
||||
|
||||
void api_hal_nfc_field_on() {
|
||||
api_hal_nfc_exit_sleep();
|
||||
st25r3916TxRxOn();
|
||||
}
|
||||
|
||||
void api_hal_nfc_field_off() {
|
||||
rfalFieldOff();
|
||||
st25r3916TxRxOff();
|
||||
api_hal_nfc_start_sleep();
|
||||
}
|
||||
|
||||
void api_hal_nfc_start_sleep() {
|
||||
|
Loading…
Reference in New Issue
Block a user