mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-13 12:58:36 -07:00
Update apps
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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 =
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user