|
|
@ -888,6 +888,18 @@ void migrate() { |
|
|
|
|
|
|
|
setSetting("board", 69); |
|
|
|
|
|
|
|
#elif defined(PILOTAK_ESP_DIN_V1)
|
|
|
|
|
|
|
|
setSetting("board", 70); |
|
|
|
setSetting("ledGPIO", 0, 16); |
|
|
|
setSetting("ledLogic", 0, 0); |
|
|
|
setSetting("btnGPIO", 0, 0); |
|
|
|
setSetting("btnRelay", 0, 0); |
|
|
|
setSetting("relayGPIO", 0, 4); |
|
|
|
setSetting("relayGPIO", 1, 5); |
|
|
|
setSetting("relayType", 0, RELAY_TYPE_NORMAL); |
|
|
|
setSetting("relayType", 1, RELAY_TYPE_NORMAL); |
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
// Allow users to define new settings without migration config
|
|
|
|