ApiHalNfc: exit sleep mode before activating field and vice versa (#456)
This commit is contained in:
@@ -16,11 +16,13 @@ bool api_hal_nfc_is_busy() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void api_hal_nfc_field_on() {
|
void api_hal_nfc_field_on() {
|
||||||
|
api_hal_nfc_exit_sleep();
|
||||||
st25r3916TxRxOn();
|
st25r3916TxRxOn();
|
||||||
}
|
}
|
||||||
|
|
||||||
void api_hal_nfc_field_off() {
|
void api_hal_nfc_field_off() {
|
||||||
rfalFieldOff();
|
st25r3916TxRxOff();
|
||||||
|
api_hal_nfc_start_sleep();
|
||||||
}
|
}
|
||||||
|
|
||||||
void api_hal_nfc_start_sleep() {
|
void api_hal_nfc_start_sleep() {
|
||||||
|
Reference in New Issue
Block a user