Skip to content

Commit 3380b7c

Browse files
authored
Hide channel selector for RCRecv pin roles (#1904)
* hide rcrecv channel * descr
1 parent ee25464 commit 3380b7c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/new_pins.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,8 @@ int PIN_IOR_NofChan(int test){
478478
// Some roles don't need any channels
479479
if (test == IOR_SGP_CLK || test == IOR_SHT3X_CLK || test == IOR_CHT83XX_CLK || test == IOR_Button_ToggleAll || test == IOR_Button_ToggleAll_n
480480
|| test == IOR_BL0937_CF || test == IOR_BL0937_CF1 || test == IOR_BL0937_SEL
481-
|| test == IOR_LED_WIFI || test == IOR_LED_WIFI_n || test == IOR_LED_WIFI_n
481+
|| test == IOR_LED_WIFI || test == IOR_LED_WIFI_n || test == IOR_BL0937_SEL_n
482+
|| test == IOR_RCRecv || test == IOR_RCRecv_nPup
482483
|| (test >= IOR_IRRecv && test <= IOR_DHT11)
483484
|| (test >= IOR_SM2135_DAT && test <= IOR_BP1658CJ_CLK)
484485
|| (test == IOR_HLW8112_SCSN)) {

src/new_pins.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -618,14 +618,14 @@ typedef enum ioRole_e {
618618
IOR_HLW8112_SCSN,
619619
//iodetail:{"name":"IOR_RCRecv",
620620
//iodetail:"title":"IOR_RCRecv Pin",
621-
//iodetail:"descr":"IOR_RCRecv.",
621+
//iodetail:"descr":"433MHz RC receiver input (uses internal pull-up).",
622622
//iodetail:"enum":"IOR_RCRecv",
623623
//iodetail:"file":"new_pins.h",
624624
//iodetail:"driver":"RC"}
625625
IOR_RCRecv,
626626
//iodetail:{"name":"IOR_RCRecv_nPup",
627627
//iodetail:"title":"IOR_RCRecv_nPup Pin",
628-
//iodetail:"descr":"IOR_RCRecv_nPup.",
628+
//iodetail:"descr":"433MHz RC receiver input without internal pull-up.",
629629
//iodetail:"enum":"IOR_RCRecv_nPup",
630630
//iodetail:"file":"new_pins.h",
631631
//iodetail:"driver":"RC"}

0 commit comments

Comments
 (0)