Skip to content

Commit

Permalink
Merge pull request #1 from xMasterX/upd
Browse files Browse the repository at this point in the history
2FSK 15KHz is not needed
  • Loading branch information
xMasterX authored Dec 10, 2022
2 parents e3a3717 + c82afb8 commit b33a1a8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Plugin based on [Weather Station](https://github.com/flipperdevices/flipperzero-

Icons by @Svaarich

Includes two FM presets built into code - with 9.5khz and 15khz deviation
Includes new FM preset built into code - 2FSK with 9.5KHz freq deviation.

Default frequency is set to DAPNET - `439987500`

Expand Down
4 changes: 4 additions & 0 deletions pocsag_pager/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.idea
.vscode
CMakeLists.txt
dist
12 changes: 1 addition & 11 deletions pocsag_pager/pocsag_pager_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "protocols/protocol_items.h"

// Comment next line to build on OFW
#define IS_UNLEASHED
//#define IS_UNLEASHED

static bool pocsag_pager_app_custom_event_callback(void* context, uint32_t event) {
furi_assert(context);
Expand Down Expand Up @@ -108,16 +108,6 @@ POCSAGPagerApp* pocsag_pager_app_alloc() {

flipper_format_free(temp_fm_preset);

FlipperFormat* temp_fm_preset2 = flipper_format_string_alloc();
flipper_format_write_string_cstr(
temp_fm_preset2,
(const char*)"Custom_preset_data",
(const char*)"02 0D 0B 06 08 32 07 04 14 00 13 02 12 04 11 83 10 67 15 31 18 18 19 16 1D 91 1C 00 1B 07 20 FB 22 10 21 56 00 00 C0 00 00 00 00 00 00 00");
flipper_format_rewind(temp_fm_preset2);
subghz_setting_load_custom_preset(app->setting, (const char*)"FM150", temp_fm_preset2);

flipper_format_free(temp_fm_preset2);

// custom presets loading - end

pcsg_preset_init(app, "FM95", 439987500, NULL, 0);
Expand Down

0 comments on commit b33a1a8

Please sign in to comment.