[FL-1929, FL-2164] IR App migrate to FFF (#949)
* IR app move to FFF * [FL-2164] Hide unimplemented submenus * Fix brute force fail * Fix FFF endless reading * Reformat TV bruteforce lib to FFF * fixes & cleanup * Infrared: switch to constexpr. Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define IRDA_COMMON_CARRIER_FREQUENCY 38000
|
||||
#define IRDA_COMMON_DUTY_CYCLE 0.33
|
||||
#define IRDA_COMMON_CARRIER_FREQUENCY ((uint32_t)38000)
|
||||
#define IRDA_COMMON_DUTY_CYCLE ((float)0.33)
|
||||
|
||||
/* if we want to see splitted raw signals during brutforce,
|
||||
* we have to have RX raw timing delay less than TX */
|
||||
|
@@ -326,7 +326,6 @@ void irda_worker_tx_start(IrdaWorker* instance) {
|
||||
|
||||
osEventFlagsClear(instance->events, IRDA_WORKER_ALL_EVENTS);
|
||||
furi_thread_set_callback(instance->thread, irda_worker_tx_thread);
|
||||
furi_thread_start(instance->thread);
|
||||
|
||||
instance->tx.steady_signal_sent = false;
|
||||
instance->tx.need_reinitialization = false;
|
||||
@@ -335,6 +334,7 @@ void irda_worker_tx_start(IrdaWorker* instance) {
|
||||
irda_worker_furi_hal_message_sent_isr_callback, instance);
|
||||
|
||||
instance->state = IrdaWorkerStateStartTx;
|
||||
furi_thread_start(instance->thread);
|
||||
}
|
||||
|
||||
static void irda_worker_furi_hal_message_sent_isr_callback(void* context) {
|
||||
|
Reference in New Issue
Block a user