File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,10 @@ static int ICACHE_FLASH_ATTR rc_send(lua_State* L) {
33
33
NODE_ERR ("Protocol:%d\n" ,Protocol );
34
34
NODE_ERR ("repeat:%d\n" ,repeat );
35
35
NODE_ERR ("send:" );
36
+
37
+ platform_print_deprecation_note ("rc" ,
38
+ "in the next release. Use rfswitch module instead." );
39
+
36
40
int c ,k ,nRepeat ;
37
41
bits = bits - 1 ;
38
42
for (c = bits ; c >= 0 ; c -- )
Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ Superseded by **[rfswitch](./rfswitch.md)** module which have same functionality
8
8
9
9
For more detailed description see [ rfswitch module documentation] ( ./rfswitch.md ) .
10
10
11
+ !!! caution
12
+
13
+ This module is deprecated and will be removed in favor of the **[rfswitch](./rfswitch.md)** module.
14
+
11
15
## rc.send()
12
16
Sends series of impulses
13
17
You can’t perform that action at this time.
0 commit comments