Commit b5a02c9
committed
Use ANSI colours; refactor display & console
Replace custom console colour handling with ansi_colour across display and console code, updating TextStatus and Status calls to use ansi::Colours. Modernize headers and style (brace and formatting changes), update copyright years to 2026, and tidy includes. Other API/bugfix changes: change OscClient::HandleLedMessage to accept uint32_t, remove/logless network::Error implementation and redefine ERROR macro, add hal::Init prototype, rename several variables (m_nSize -> size_, pBuffer -> buffer), adjust TFTP/remoteconfig flow (platform-specific TFTP handling, success flag rename), and various small fixes in remoteconfig, tftpfileserver, and display drivers. These changes unify colour output, fix type inconsistencies, and clean up code style.1 parent a7f1199 commit b5a02c9
18 files changed
Lines changed: 297 additions & 560 deletions
File tree
- gd32_emac_artnet_dmx_multi
- firmware
- gd32_emac_e131_dmx_multi/firmware
- lib-display/include
- i2c
- spi
- lib-hal
- console/uart0
- include
- console
- gd32
- lib-network/src/core
- lib-osc
- include
- src/client
- lib-remoteconfig
- include
- http
- tftp
- src
- gd32
- tftp
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | 26 | | |
29 | 27 | | |
30 | 28 | | |
| |||
71 | 69 | | |
72 | 70 | | |
73 | 71 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | 72 | | |
80 | 73 | | |
81 | 74 | | |
| |||
99 | 92 | | |
100 | 93 | | |
101 | 94 | | |
| 95 | + | |
| 96 | + | |
102 | 97 | | |
103 | 98 | | |
104 | | - | |
| 99 | + | |
105 | 100 | | |
106 | 101 | | |
107 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
70 | 69 | | |
71 | 70 | | |
72 | 71 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | 72 | | |
79 | 73 | | |
80 | 74 | | |
| |||
96 | 90 | | |
97 | 91 | | |
98 | 92 | | |
| 93 | + | |
| 94 | + | |
99 | 95 | | |
100 | 96 | | |
101 | | - | |
| 97 | + | |
102 | 98 | | |
103 | 99 | | |
104 | 100 | | |
| |||
0 commit comments