|
@ -1372,6 +1372,21 @@ void migrate() { |
|
|
setSetting("hlwSelC", LOW); |
|
|
setSetting("hlwSelC", LOW); |
|
|
setSetting("hlwIntM", FALLING); |
|
|
setSetting("hlwIntM", FALLING); |
|
|
|
|
|
|
|
|
|
|
|
#elif defined(MUVIT_IO_MIOBULB001)
|
|
|
|
|
|
|
|
|
|
|
|
setSetting("board", 102); |
|
|
|
|
|
setSetting("relayProvider", RELAY_PROVIDER_LIGHT); |
|
|
|
|
|
setSetting("lightProvider", LIGHT_PROVIDER_DIMMER); |
|
|
|
|
|
setSetting("chGPIO", 0, 14); |
|
|
|
|
|
setSetting("chGPIO", 1, 12); |
|
|
|
|
|
setSetting("chGPIO", 2, 13); |
|
|
|
|
|
setSetting("chGPIO", 3, 4); |
|
|
|
|
|
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
|
|
|