mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-30 08:20:21 +00:00
28 lines
608 B
C
28 lines
608 B
C
|
#pragma once
|
||
|
|
||
|
#include "subghz_txrx.h"
|
||
|
|
||
|
struct SubGhzTxRx {
|
||
|
SubGhzWorker* worker;
|
||
|
|
||
|
SubGhzEnvironment* environment;
|
||
|
SubGhzReceiver* receiver;
|
||
|
SubGhzTransmitter* transmitter;
|
||
|
SubGhzProtocolDecoderBase* decoder_result;
|
||
|
FlipperFormat* fff_data;
|
||
|
|
||
|
SubGhzRadioPreset* preset;
|
||
|
SubGhzSetting* setting;
|
||
|
|
||
|
uint8_t hopper_timeout;
|
||
|
uint8_t hopper_idx_frequency;
|
||
|
bool is_database_loaded;
|
||
|
SubGhzHopperState hopper_state;
|
||
|
|
||
|
SubGhzTxRxState txrx_state;
|
||
|
SubGhzSpeakerState speaker_state;
|
||
|
|
||
|
SubGhzTxRxNeedSaveCallback need_save_callback;
|
||
|
void* need_save_context;
|
||
|
};
|