diff --git a/tasmota/xdrv_23_zigbee_9_serial.ino b/tasmota/xdrv_23_zigbee_9_serial.ino index 83e4c9c94..da7e64095 100644 --- a/tasmota/xdrv_23_zigbee_9_serial.ino +++ b/tasmota/xdrv_23_zigbee_9_serial.ino @@ -47,11 +47,6 @@ public: EZSP_Serial_t EZSP_Serial; -#endif // USE_ZIGBEE_EZSP - -#include -TasmotaSerial *ZigbeeSerial = nullptr; - // // Blink Led Status // @@ -71,6 +66,11 @@ bool Z_LedStatusSet(bool onoff) { return led_status_on; } +#endif // USE_ZIGBEE_EZSP + +#include +TasmotaSerial *ZigbeeSerial = nullptr; + /********************************************************************************************/ // // Called at event loop, checks for incoming data from the CC2530