Update apps

This commit is contained in:
Willy-JL
2023-08-30 18:59:32 +02:00
parent 160ab755a2
commit ee37769ee2
308 changed files with 2314 additions and 801 deletions

View File

@@ -5,7 +5,6 @@ App(
entry_point="pocsag_pager_app",
requires=["gui"],
stack_size=4 * 1024,
order=50,
fap_icon="pocsag_pager_10px.png",
fap_category="Sub-GHz",
fap_icon_assets="images",

View File

@@ -136,7 +136,7 @@ void pcsg_hopper_update(POCSAGPagerApp* app) {
if(app->txrx->txrx_state == PCSGTxRxStateRx) {
pcsg_rx_end(app);
}
};
if(app->txrx->txrx_state == PCSGTxRxStateIDLE) {
subghz_receiver_reset(app->txrx->receiver);
app->txrx->preset->frequency =

View File

@@ -135,7 +135,7 @@ void pocsag_pager_scene_receiver_on_enter(void* context) {
if(app->txrx->txrx_state == PCSGTxRxStateRx) {
pcsg_rx_end(app);
}
};
if((app->txrx->txrx_state == PCSGTxRxStateIDLE) ||
(app->txrx->txrx_state == PCSGTxRxStateSleep)) {
// Start RX
@@ -161,7 +161,7 @@ bool pocsag_pager_scene_receiver_on_event(void* context, SceneManagerEvent event
if(app->txrx->txrx_state == PCSGTxRxStateRx) {
pcsg_rx_end(app);
pcsg_idle(app);
}
};
app->txrx->hopper_state = PCSGHopperStateOFF;
app->txrx->idx_menu_chosen = 0;
subghz_receiver_set_rx_callback(app->txrx->receiver, NULL, app);

View File

@@ -1,6 +1,6 @@
#include "pocsag_pager_receiver.h"
#include "../pocsag_pager_app_i.h"
#include <pocsag_pager_icons.h>
#include "pocsag_pager_icons.h"
#include <assets_icons.h>
#include <math.h>