SubGhz: refactoring RPC

This commit is contained in:
gid9798
2023-05-09 20:06:22 +03:00
parent 21cd94cc79
commit 752a11ba26
3 changed files with 7 additions and 11 deletions

View File

@@ -362,11 +362,6 @@ void subghz_txrx_stop(SubGhzTxRx* instance) {
}
}
SubGhzTxRxState subghz_txrx_get_state(SubGhzTxRx* instance) {
furi_assert(instance);
return instance->txrx_state;
}
void subghz_txrx_hopper_update(SubGhzTxRx* instance) {
furi_assert(instance);

View File

@@ -40,8 +40,6 @@ void subghz_txrx_rx_start(SubGhzTxRx* instance);
void subghz_txrx_stop(SubGhzTxRx* instance);
void subghz_txrx_sleep(SubGhzTxRx* instance);
SubGhzTxRxState subghz_txrx_get_state(SubGhzTxRx* instance);
void subghz_txrx_hopper_update(SubGhzTxRx* instance);
SubGhzHopperState subghz_txrx_hopper_get_state(SubGhzTxRx* instance);
void subghz_txrx_hopper_set_state(SubGhzTxRx* instance, SubGhzHopperState state);