Skip to content

Commit f5bd52b

Browse files
committed
Clang
1 parent 58f5740 commit f5bd52b

File tree

6 files changed

+397
-316
lines changed

6 files changed

+397
-316
lines changed

src/Wippersnapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2873,7 +2873,7 @@ void Wippersnapper::publishPinConfigComplete() {
28732873
// Publish message
28742874
WS_DEBUG_PRINTLN("Publishing to pin config complete...");
28752875
if (!WS._mqtt->publish(WS._topic_device_pin_config_complete, _message_buffer,
2876-
_message_len, 0)) {
2876+
_message_len, 0)) {
28772877
WS_DEBUG_PRINTLN("Failed to publish pin config complete message!");
28782878
} else {
28792879
WS_DEBUG_PRINTLN("Published pin config complete message!");

src/components/display/assets/icons.h

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -2,46 +2,46 @@
22
#define _ICONS_H_
33
#include <Arduino.h>
44

5-
const unsigned char epd_bmp_cloud_online [] PROGMEM = {
6-
// 'cloud-thin-full, 16x16px
7-
0x00, 0x00, 0x00, 0x00, 0x07, 0x80, 0x0d, 0xc0, 0x18, 0x78, 0x10, 0x0c, 0x30, 0x04, 0x70, 0x0c,
8-
0xc0, 0x06, 0xc0, 0x03, 0xc0, 0x03, 0x40, 0x03, 0x70, 0x06, 0x3f, 0xfc, 0x00, 0x00, 0x00, 0x00
9-
};
10-
11-
const unsigned char epd_bmp_cloud_offline [] PROGMEM = {
12-
// 'cloud-xmark-thin-full, 16x16px
13-
0x00, 0x00, 0x00, 0x00, 0x07, 0x80, 0x0d, 0xc0, 0x18, 0x78, 0x10, 0x0c, 0x30, 0x04, 0x73, 0xcc,
14-
0xe3, 0x86, 0xc3, 0xc3, 0xc3, 0xc3, 0x40, 0x03, 0x70, 0x06, 0x3f, 0xfc, 0x00, 0x00, 0x00, 0x00
15-
};
16-
17-
const unsigned char epd_bmp_wifi_full [] PROGMEM = {
18-
// 'wifi-thin-full, 16x16px
19-
0x00, 0x00, 0x00, 0x00, 0x07, 0xe0, 0x3c, 0x3c, 0x70, 0x0e, 0xc0, 0x03, 0x03, 0xc0, 0x0f, 0xf0,
20-
0x1c, 0x38, 0x18, 0x18, 0x00, 0x00, 0x03, 0xc0, 0x03, 0xc0, 0x03, 0xc0, 0x00, 0x00, 0x00, 0x00
21-
};
22-
23-
const unsigned char epd_bmp_wifi_fair [] PROGMEM = {
24-
// 'wifi-fair-thin-full, 16x16px
25-
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0xc0, 0x0f, 0xf0,
26-
0x1c, 0x38, 0x18, 0x18, 0x00, 0x00, 0x03, 0xc0, 0x03, 0xc0, 0x03, 0xc0, 0x00, 0x00, 0x00, 0x00
27-
};
28-
29-
const unsigned char epd_bmp_wifi_weak [] PROGMEM = {
30-
// 'wifi-weak-thin-full, 16x16px
31-
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
32-
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0xc0, 0x03, 0xc0, 0x03, 0x80, 0x00, 0x00, 0x00, 0x00
33-
};
34-
35-
const unsigned char epd_bmp_wifi_no_signal [] PROGMEM = {
36-
// 'wifi-slash-thin-full, 16x16px
37-
0x00, 0x00, 0x40, 0x00, 0x27, 0xc0, 0x1e, 0x38, 0x68, 0x00, 0x44, 0x03, 0x03, 0x00, 0x01, 0xe0,
38-
0x08, 0x90, 0x00, 0x40, 0x00, 0x20, 0x01, 0x90, 0x03, 0x88, 0x01, 0x84, 0x00, 0x02, 0x00, 0x00
39-
};
40-
41-
const unsigned char epd_bmp_bat_full [] PROGMEM = {
42-
// 'battery-full-thin-full, 16x16px
43-
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7f, 0xfe, 0xc0, 0x06, 0xff, 0xfa, 0xf0, 0x0b, 0xf0, 0x0b,
44-
0xf0, 0x0b, 0xf0, 0x0b, 0xff, 0xfa, 0xc0, 0x06, 0x7f, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
45-
};
5+
const unsigned char epd_bmp_cloud_online[] PROGMEM = {
6+
// 'cloud-thin-full, 16x16px
7+
0x00, 0x00, 0x00, 0x00, 0x07, 0x80, 0x0d, 0xc0, 0x18, 0x78, 0x10,
8+
0x0c, 0x30, 0x04, 0x70, 0x0c, 0xc0, 0x06, 0xc0, 0x03, 0xc0, 0x03,
9+
0x40, 0x03, 0x70, 0x06, 0x3f, 0xfc, 0x00, 0x00, 0x00, 0x00};
10+
11+
const unsigned char epd_bmp_cloud_offline[] PROGMEM = {
12+
// 'cloud-xmark-thin-full, 16x16px
13+
0x00, 0x00, 0x00, 0x00, 0x07, 0x80, 0x0d, 0xc0, 0x18, 0x78, 0x10,
14+
0x0c, 0x30, 0x04, 0x73, 0xcc, 0xe3, 0x86, 0xc3, 0xc3, 0xc3, 0xc3,
15+
0x40, 0x03, 0x70, 0x06, 0x3f, 0xfc, 0x00, 0x00, 0x00, 0x00};
16+
17+
const unsigned char epd_bmp_wifi_full[] PROGMEM = {
18+
// 'wifi-thin-full, 16x16px
19+
0x00, 0x00, 0x00, 0x00, 0x07, 0xe0, 0x3c, 0x3c, 0x70, 0x0e, 0xc0,
20+
0x03, 0x03, 0xc0, 0x0f, 0xf0, 0x1c, 0x38, 0x18, 0x18, 0x00, 0x00,
21+
0x03, 0xc0, 0x03, 0xc0, 0x03, 0xc0, 0x00, 0x00, 0x00, 0x00};
22+
23+
const unsigned char epd_bmp_wifi_fair[] PROGMEM = {
24+
// 'wifi-fair-thin-full, 16x16px
25+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
26+
0x00, 0x03, 0xc0, 0x0f, 0xf0, 0x1c, 0x38, 0x18, 0x18, 0x00, 0x00,
27+
0x03, 0xc0, 0x03, 0xc0, 0x03, 0xc0, 0x00, 0x00, 0x00, 0x00};
28+
29+
const unsigned char epd_bmp_wifi_weak[] PROGMEM = {
30+
// 'wifi-weak-thin-full, 16x16px
31+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
32+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
33+
0x03, 0xc0, 0x03, 0xc0, 0x03, 0x80, 0x00, 0x00, 0x00, 0x00};
34+
35+
const unsigned char epd_bmp_wifi_no_signal[] PROGMEM = {
36+
// 'wifi-slash-thin-full, 16x16px
37+
0x00, 0x00, 0x40, 0x00, 0x27, 0xc0, 0x1e, 0x38, 0x68, 0x00, 0x44,
38+
0x03, 0x03, 0x00, 0x01, 0xe0, 0x08, 0x90, 0x00, 0x40, 0x00, 0x20,
39+
0x01, 0x90, 0x03, 0x88, 0x01, 0x84, 0x00, 0x02, 0x00, 0x00};
40+
41+
const unsigned char epd_bmp_bat_full[] PROGMEM = {
42+
// 'battery-full-thin-full, 16x16px
43+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7f, 0xfe, 0xc0, 0x06, 0xff,
44+
0xfa, 0xf0, 0x0b, 0xf0, 0x0b, 0xf0, 0x0b, 0xf0, 0x0b, 0xff, 0xfa,
45+
0xc0, 0x06, 0x7f, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
4646

4747
#endif // _ICONS_H_

0 commit comments

Comments
 (0)