Compare commits

..

No commits in common. "master" and "2.0" have entirely different histories.
master ... 2.0

2 changed files with 7 additions and 9 deletions

View File

@ -1,9 +1,4 @@
## 2.1 - 2024-06-09 ## v2 - 2024-06-09
### Fixed
* MAC address on boot now displayed correctly.
## 2.0 - 2024-06-09
### Added ### Added
* New Clock mode with arabic numerals * New Clock mode with arabic numerals
* Firmware version now displayed at boot time * Firmware version now displayed at boot time

View File

@ -202,9 +202,12 @@ void displayMacAddress(int cycles=40) {
} }
// Middle: MAC address // Middle: MAC address
for (int i = 0; i < 48; i++) { for (int octet = 0; octet < 6; octet++) {
int pos = i + 8; for (int i = 0; i < 8; i++) {
grid[pos] = CHSV(HUE_YELLOW, 255, ((addr>>(47-i)) & 1)?255:64); int pos = 8 + (octet*8) + (7-i);
bool bit = (addr>>(octet*8 + i)) & 1;
grid[pos] = bit ? CRGB::Yellow: CRGB::Black;
}
} }
// Bottom: connected status // Bottom: connected status