Fix compile error when USE_LIGHT is disabled

This commit is contained in:
Theo Arends 2020-05-02 17:13:50 +02:00
parent b83b3a0da1
commit e5f2773213

View File

@ -17,6 +17,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifdef USE_LIGHT
#ifdef USE_SONOFF_D1
/*********************************************************************************************\
* Sonoff D1 dimmer 433
@ -196,3 +197,4 @@ bool Xdrv37(uint8_t function)
}
#endif // USE_SONOFF_D1
#endif // USE_LIGHT