|
@ -442,6 +442,18 @@ void hwUpwardsCompatibility() { |
|
|
|
|
|
|
|
|
setSetting("board", 38); |
|
|
setSetting("board", 38); |
|
|
|
|
|
|
|
|
|
|
|
#elif defined(ESPLIVE)
|
|
|
|
|
|
|
|
|
|
|
|
setSetting("board", 39); |
|
|
|
|
|
setSetting("btnGPIO", 1, 4); |
|
|
|
|
|
setSetting("btnGPIO", 2, 5); |
|
|
|
|
|
setSetting("btnRelay", 1, 1); |
|
|
|
|
|
setSetting("btnRelay", 2, 2); |
|
|
|
|
|
setSetting("relayGPIO", 1, 12); |
|
|
|
|
|
setSetting("relayGPIO", 2, 13); |
|
|
|
|
|
setSetting("relayType", 1, RELAY_TYPE_NORMAL); |
|
|
|
|
|
setSetting("relayType", 2, RELAY_TYPE_NORMAL); |
|
|
|
|
|
|
|
|
#else
|
|
|
#else
|
|
|
|
|
|
|
|
|
#error "UNSUPPORTED HARDWARE!"
|
|
|
#error "UNSUPPORTED HARDWARE!"
|
|
|