       if (bits == 0)
         bits = kMitsubishiBits;
       repeat = std::max(repeat, kMitsubishiMinRepeat);
-      irsend.sendMitsubishi(code, bits, repeat);
+      irsend->sendMitsubishi(code, bits, repeat);
       break;
 #endif
 #if SEND_DISH

PubSubClient mqtt_client(MQTT_SERVER, kMqttPort, callback, espClient);
// Create a unique MQTT client id.
String mqtt_clientid = MQTTprefix + String(ESP.getChipId(), HEX);
#endif  // MQTT_ENABLE

// Debug messages get sent to the serial port.


#if MQTT_ENABLE
String lastMqttCmd = "None";
String lastMqttCmdTopic = "None";
uint32_t lastMqttCmdTime = 0;
uint32_t lastConnectedTime = 0;
uint32_t lastDisconnectedTime = 0;
