|
@ -1387,6 +1387,21 @@ void migrate() { |
|
|
setSetting("chLogic", 3, 0); |
|
|
setSetting("chLogic", 3, 0); |
|
|
setSetting("relays", 1); |
|
|
setSetting("relays", 1); |
|
|
|
|
|
|
|
|
|
|
|
#elif defined(GENERIC_E14)
|
|
|
|
|
|
|
|
|
|
|
|
setSetting("board", 103); |
|
|
|
|
|
setSetting("relayProvider", RELAY_PROVIDER_LIGHT); |
|
|
|
|
|
setSetting("lightProvider", LIGHT_PROVIDER_DIMMER); |
|
|
|
|
|
setSetting("chGPIO", 0, 4); |
|
|
|
|
|
setSetting("chGPIO", 1, 12); |
|
|
|
|
|
setSetting("chGPIO", 2, 14); |
|
|
|
|
|
setSetting("chGPIO", 3, 5); |
|
|
|
|
|
setSetting("chLogic", 0, 0); |
|
|
|
|
|
setSetting("chLogic", 1, 0); |
|
|
|
|
|
setSetting("chLogic", 2, 0); |
|
|
|
|
|
setSetting("chLogic", 3, 0); |
|
|
|
|
|
setSetting("relays", 1); |
|
|
|
|
|
|
|
|
#else
|
|
|
#else
|
|
|
|
|
|
|
|
|
// Allow users to define new settings without migration config
|
|
|
// Allow users to define new settings without migration config
|
|
|