|
@@ -52,6 +52,8 @@
|
52
|
52
|
#endif
|
53
|
53
|
#endif
|
54
|
54
|
|
|
55
|
+#include <binary.h>
|
|
56
|
+
|
55
|
57
|
extern volatile uint8_t buttons; //an extended version of the last checked buttons in a bit array.
|
56
|
58
|
|
57
|
59
|
////////////////////////////////////
|
|
@@ -1326,18 +1328,18 @@ static void lcd_implementation_status_screen() {
|
1326
|
1328
|
}
|
1327
|
1329
|
|
1328
|
1330
|
clear_custom_char(&new_char);
|
1329
|
|
- new_char.custom_char_bits[0] = 0B11111U; // char #0 is used for the top line of the box
|
|
1331
|
+ new_char.custom_char_bits[0] = 0b11111U; // char #0 is used for the top line of the box
|
1330
|
1332
|
lcd.createChar(0, (uint8_t*)&new_char);
|
1331
|
1333
|
|
1332
|
1334
|
clear_custom_char(&new_char);
|
1333
|
1335
|
k = (GRID_MAX_POINTS_Y) * pixels_per_y_mesh_pnt + 1; // row of pixels for the bottom box line
|
1334
|
1336
|
l = k % (ULTRA_Y_PIXELS_PER_CHAR); // row within relevant character cell
|
1335
|
|
- new_char.custom_char_bits[l] = 0B11111U; // char #1 is used for the bottom line of the box
|
|
1337
|
+ new_char.custom_char_bits[l] = 0b11111U; // char #1 is used for the bottom line of the box
|
1336
|
1338
|
lcd.createChar(1, (uint8_t*)&new_char);
|
1337
|
1339
|
|
1338
|
1340
|
clear_custom_char(&new_char);
|
1339
|
1341
|
for (j = 0; j < ULTRA_Y_PIXELS_PER_CHAR; j++)
|
1340
|
|
- new_char.custom_char_bits[j] = 0B10000U; // char #2 is used for the left edge of the box
|
|
1342
|
+ new_char.custom_char_bits[j] = 0b10000U; // char #2 is used for the left edge of the box
|
1341
|
1343
|
lcd.createChar(2, (uint8_t*)&new_char);
|
1342
|
1344
|
|
1343
|
1345
|
clear_custom_char(&new_char);
|