Make sure binary.h is included as needed
This commit is contained in:
@ -32,6 +32,8 @@
|
||||
* Please note that using the high-res version takes 402Bytes of PROGMEM.
|
||||
*/
|
||||
|
||||
#include <binary.h>
|
||||
|
||||
//#define START_BMPHIGH
|
||||
|
||||
#if ENABLED(SHOW_BOOTSCREEN)
|
||||
|
@ -52,6 +52,8 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <binary.h>
|
||||
|
||||
extern volatile uint8_t buttons; //an extended version of the last checked buttons in a bit array.
|
||||
|
||||
////////////////////////////////////
|
||||
@ -1326,18 +1328,18 @@ static void lcd_implementation_status_screen() {
|
||||
}
|
||||
|
||||
clear_custom_char(&new_char);
|
||||
new_char.custom_char_bits[0] = 0B11111U; // char #0 is used for the top line of the box
|
||||
new_char.custom_char_bits[0] = 0b11111U; // char #0 is used for the top line of the box
|
||||
lcd.createChar(0, (uint8_t*)&new_char);
|
||||
|
||||
clear_custom_char(&new_char);
|
||||
k = (GRID_MAX_POINTS_Y) * pixels_per_y_mesh_pnt + 1; // row of pixels for the bottom box line
|
||||
l = k % (ULTRA_Y_PIXELS_PER_CHAR); // row within relevant character cell
|
||||
new_char.custom_char_bits[l] = 0B11111U; // char #1 is used for the bottom line of the box
|
||||
new_char.custom_char_bits[l] = 0b11111U; // char #1 is used for the bottom line of the box
|
||||
lcd.createChar(1, (uint8_t*)&new_char);
|
||||
|
||||
clear_custom_char(&new_char);
|
||||
for (j = 0; j < ULTRA_Y_PIXELS_PER_CHAR; j++)
|
||||
new_char.custom_char_bits[j] = 0B10000U; // char #2 is used for the left edge of the box
|
||||
new_char.custom_char_bits[j] = 0b10000U; // char #2 is used for the left edge of the box
|
||||
lcd.createChar(2, (uint8_t*)&new_char);
|
||||
|
||||
clear_custom_char(&new_char);
|
||||
|
Reference in New Issue
Block a user