Skip to content

Commit

Permalink
autodiscovery dimmer intégration
Browse files Browse the repository at this point in the history
  • Loading branch information
xlyric committed Jun 20, 2024
1 parent 593fa6c commit 9d8607b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/tasks/mDNS.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "../config/enums.h"

extern Config config;
extern Logs Logging;
extern Logs logging;

void mdns_discovery(void * parameter) // NOSONAR
{
Expand All @@ -30,11 +30,11 @@ void mdns_discovery(void * parameter) // NOSONAR
name_dimmer.toCharArray(config.dimmer, name_dimmer.length()+1);
Serial.print("Dimmer found: ");
Serial.println(config.dimmer);
//Logging.Set_log_init("Dimmer found: ");
//Logging.Set_log_init(config.dimmer);
//Logging.Set_log_init("\r\n");
logging.Set_log_init("Dimmer found: ");
logging.Set_log_init(config.dimmer);
logging.Set_log_init("\r\n");
//sauvegarde de la configuration
//config.saveConfiguration();
config.saveConfiguration();
break;
}
}
Expand Down

0 comments on commit 9d8607b

Please sign in to comment.