Browse Source

Changed default hostname to ESPURNA_XXXXXX

fastled
Xose Pérez 7 years ago
parent
commit
9fe2365328
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      code/espurna/utils.ino

+ 2
- 2
code/espurna/utils.ino View File

@ -11,7 +11,7 @@ Ticker _defer_reset;
String getIdentifier() { String getIdentifier() {
char buffer[20]; char buffer[20];
snprintf_P(buffer, sizeof(buffer), PSTR("%s_%06X"), DEVICE, ESP.getChipId());
snprintf_P(buffer, sizeof(buffer), PSTR("ESPURNA_%06X"), ESP.getChipId());
return String(buffer); return String(buffer);
} }
@ -54,7 +54,7 @@ String buildTime() {
char buffer[20]; char buffer[20];
snprintf_P( snprintf_P(
buffer, sizeof(buffer), PSTR("%04d/%02d/%02d %02d:%02d:%02d"),
buffer, sizeof(buffer), PSTR("%04d-%02d-%02d %02d:%02d:%02d"),
year, month, day, hour, minute, second year, month, day, hour, minute, second
); );


Loading…
Cancel
Save