Skip to content

Commit 2b2adc2

Browse files
authored
Merge pull request #11 from leedave/feature/catalog_sdk_upd
Feature/catalog sdk upd
2 parents 47aea2c + 99ae845 commit 2b2adc2

File tree

7 files changed

+16
-8
lines changed

7 files changed

+16
-8
lines changed

application.fam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ App(
66
stack_size=3 * 1024,
77
fap_icon="icons/xremote_10px.png",
88
fap_icon_assets="icons",
9-
fap_version="2.1",
9+
fap_version="2.2",
1010
fap_category="Infrared",
1111
fap_author="Leedave",
1212
fap_description="One-Click, sends multiple commands",
13-
fap_weburl="https://github.com/leedave/flipper-zero-cross-remote"
13+
fap_weburl="https://github.com/leedave/flipper-zero-cross-remote",
1414
)

docs/changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 2.2
2+
- Fixed incompatibility to Flipper-catalog / uFBT compiler
3+
14
## v2.1
25
- Added ability to individually set IR Signal time
36

helpers/gui/int_input.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
#include <gui/elements.h>
44
#include <furi.h>
5-
#include <assets_icons.h>
65

76
/** IntInput type */
87
struct IntInput {

helpers/gui/int_input.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#pragma once
77

88
#include <gui/view.h>
9+
#include "xremote_icons.h"
910

1011
#ifdef __cplusplus
1112
extern "C" {

helpers/subghz/subghz_txrx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "subghz_txrx_i.h"
22

3-
#include <lib/subghz/protocols/protocol_items.h>
3+
#include <lib/subghz/subghz_protocol_registry.h>
44
#include <applications/drivers/subghz/cc1101_ext/cc1101_ext_interconnect.h>
55
#include <lib/subghz/devices/cc1101_int/cc1101_int_interconnect.h>
66

scenes/xremote_scene_edit_item.c

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,15 @@ void xremote_scene_edit_item_on_enter(void* context) {
1616
XRemote* app = context;
1717
submenu_add_item(
1818
app->editmenu, "Rename", SubmenuIndexRename, xremote_scene_edit_item_submenu_callback, app);
19-
20-
if(xremote_cross_remote_get_item_type(app->cross_remote, app->edit_item) == XRemoteRemoteItemTypeInfrared) {
19+
20+
if(xremote_cross_remote_get_item_type(app->cross_remote, app->edit_item) ==
21+
XRemoteRemoteItemTypeInfrared) {
2122
submenu_add_item(
22-
app->editmenu, "Set Timing", SubmenuIndexTiming, xremote_scene_edit_item_submenu_callback, app);
23+
app->editmenu,
24+
"Set Timing",
25+
SubmenuIndexTiming,
26+
xremote_scene_edit_item_submenu_callback,
27+
app);
2328
}
2429

2530
submenu_add_item(

scenes/xremote_scene_ir_timer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ bool xremote_scene_ir_timer_on_event(void* context, SceneManagerEvent event) {
3838
} else if(event.type == SceneManagerEventTypeCustom) {
3939
CrossRemoteItem* item = xremote_cross_remote_get_item(app->cross_remote, app->edit_item);
4040
xremote_cross_remote_item_set_time(item, atoi(app->text_store[1]));
41-
if (item->time > 9999) {
41+
if(item->time > 9999) {
4242
item->time = 9999;
4343
}
4444
//app->first_station = atoi(app->text_store[0]);

0 commit comments

Comments
 (0)