Skip to content

Commit 91698ab

Browse files
committed
comment: first char "!" or ";"
1 parent ad51231 commit 91698ab

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

Distr/nrf24batch/Kitchen Vent Dimmer.txt

+6
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ W: SSR2_PulseWidth,us*2=,32,WROM2
7171
R: DamperOpenTime=34
7272
W: DamperOpenTime=,34
7373

74+
!R: FanCookSpIdxDnKey=35
75+
!W: FanCookSpIdxDnKey=,35
76+
!R: FanCookSpIdxUpKey=36
77+
!W: FanCookSpIdxUpKey=,36
78+
7479
R: IRRemotes=35
7580
W: IRRemotes=,35
7681

@@ -150,6 +155,7 @@ WBatch: Init(Cook2spd,Lamp-F2.2): RxAddr=0xC1;Ch=122;CO2 level={870,930,1000};Fa
150155
WBatch: IRRemotes clear: IRRemotes=0
151156
WBatch: IRRemotes 1 kitchen: IRRemotes=1;IRRemotesHash={0x6DA5,0xFCA5,0x7CA5,0xB425,0x3425,0x1625,0x8525}
152157
WBatch: Fans Speeds: Fan speeds=3;FanSpeed={10,12,16};FanCook speeds=3;FanCookSpeed={12,16,32}
158+
WBatch: FanCooker Down/Up key idx: FanCookSpIdxDnKey=2;FanCookSpIdxUpKey=3
153159
WBatch: LED Warning: _LED Warning=0x10
154160
WBatch: OSCCAL: _OSCCAL=146
155161
WBatch: CO2 Level: CO2 level={750,850,1000}

application.fam

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
App(
2-
appid="nrf24_scanner",
3-
name="[NRF24] Scanner",
2+
appid="nrf24_batch",
3+
name="[NRF24] Batch",
44
apptype=FlipperAppType.EXTERNAL,
5-
entry_point="nrf24scan_app",
6-
cdefines=["APP_NRF24SCAN"],
5+
entry_point="nrf24batch_app",
6+
cdefines=["APP_NRF24BATCH"],
77
requires=["gui"],
88
stack_size=2 * 1024,
99
order=60,
10-
fap_icon="nrf24scan_10px.png",
10+
fap_icon="nrf24batch_10px.png",
1111
fap_category="GPIO",
1212
fap_private_libs=[
1313
Lib(
@@ -17,4 +17,4 @@ App(
1717
],
1818
),
1919
],
20-
)
20+
)

nrf24batch.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ static uint8_t load_settings_file() {
850850
NRF_INITED = false;
851851
while(stream_read_line(file_stream, str)) {
852852
char *p = (char*)furi_string_get_cstr(str);
853-
if(*p <= ' ') continue;
853+
if(*p <= '!' || *p == ';') continue;
854854
//char* delim_eq = strchr(p, '=');
855855
char *delim_col = strchr(p, ':');
856856
if(delim_col == NULL) { // Constant found - no ':'

0 commit comments

Comments
 (0)