diff --git a/platformio.ini b/platformio.ini index f57c209..18042fe 100644 --- a/platformio.ini +++ b/platformio.ini @@ -91,7 +91,6 @@ build_flags = ${env.build_flags} -DMQTT_MAX_PACKET_SIZE=1024 '-DsimpleReceiving=true' - '-DsimplePublishing=true' '-DZmqttDiscovery="HADiscovery"' '-DTRACE=1' @@ -103,7 +102,6 @@ build_flags = ${env.build_flags} -DMQTT_MAX_PACKET_SIZE=1024 '-DsimpleReceiving=true' - '-DsimplePublishing=true' '-DZmqttDiscovery="HADiscovery"' '-DTRACE=1' @@ -171,6 +169,7 @@ build_flags = '-DZgatewayRFM69="RFM69"' '-DZsensorGPIOInput="GPIOInput"' '-DZsensorGPIOKeyCode="GPIOKeyCode"' + '-DsimplePublishing=true' '-DGateway_Name="OpenMQTTGateway_ESP32_ALL"' [env:esp32dev-rf] @@ -258,6 +257,7 @@ build_flags = '-DZgatewayRFM69="RFM69"' '-DZsensorGPIOInput="GPIOInput"' '-DZsensorGPIOKeyCode="GPIOKeyCode"' + '-DsimplePublishing=true' '-DGateway_Name="OpenMQTTGateway_ESP8266_ALL"' board_build.flash_mode = dout @@ -355,6 +355,7 @@ build_flags = '-DZsensorGPIOInput="GPIOInput"' ;'-DZsensorGPIOKeyCode="GPIOKeyCode"' '-DZmqttDiscovery="HADiscovery"' + '-DsimplePublishing=true' '-DGateway_Name="OpenMQTTGateway_ATMEGA_ALL"' [env:uno-rf]