Deprecate RC module (#3137)

This commit is contained in:
Gregor Hartmann 2020-05-31 08:58:44 +02:00 committed by Marcel Stör
parent 544ee81210
commit 7c53cc7611
2 changed files with 8 additions and 0 deletions

View File

@ -33,6 +33,10 @@ static int ICACHE_FLASH_ATTR rc_send(lua_State* L) {
NODE_ERR("Protocol:%d\n",Protocol);
NODE_ERR("repeat:%d\n",repeat);
NODE_ERR("send:");
platform_print_deprecation_note("rc",
"in the next release. Use rfswitch module instead.");
int c,k,nRepeat;
bits = bits-1;
for (c = bits; c >= 0; c--)

View File

@ -8,6 +8,10 @@ Superseded by **[rfswitch](./rfswitch.md)** module which have same functionality
For more detailed description see [rfswitch module documentation](./rfswitch.md).
!!! caution
This module is deprecated and will be removed in favor of the **[rfswitch](./rfswitch.md)** module.
## rc.send()
Sends series of impulses