diff --git a/app/modules/rc.c b/app/modules/rc.c index 1c3ff3b2b4..3037fcc0c1 100644 --- a/app/modules/rc.c +++ b/app/modules/rc.c @@ -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--) diff --git a/docs/modules/rc.md b/docs/modules/rc.md index fe69b854e2..1765864824 100644 --- a/docs/modules/rc.md +++ b/docs/modules/rc.md @@ -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