Fix WebUI currency converter, reorganize some code
This commit is contained in:
parent
5dd47c2275
commit
ff50acf913
14 changed files with 228 additions and 195 deletions
|
@ -404,7 +404,7 @@ void setupWebsocketClients(void *pvParameters)
|
|||
{
|
||||
if (preferences.getBool("ownDataSource", DEFAULT_OWN_DATA_SOURCE))
|
||||
{
|
||||
setupV2Notify();
|
||||
V2Notify::setupV2Notify();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -553,7 +553,7 @@ void setupHardware()
|
|||
{
|
||||
Serial.println(F("Found BH1750"));
|
||||
hasLuxSensor = true;
|
||||
bh1750.begin(BH1750::CONTINUOUS_LOW_RES_MODE, 0x5C);
|
||||
bh1750.begin(BH1750::CONTINUOUS_HIGH_RES_MODE, 0x5C);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue