diff --git a/applications/services/gui/canvas.c b/applications/services/gui/canvas.c index 209c82a8..c7e7dc35 100644 --- a/applications/services/gui/canvas.c +++ b/applications/services/gui/canvas.c @@ -321,10 +321,10 @@ static void canvas_draw_u8g2_bitmap_int( void canvas_draw_u8g2_bitmap( u8g2_t* u8g2, - u8g2_uint_t x, - u8g2_uint_t y, - u8g2_uint_t w, - u8g2_uint_t h, + uint8_t x, + uint8_t y, + uint8_t w, + uint8_t h, const uint8_t* bitmap, IconRotation rotation) { u8g2_uint_t blen; diff --git a/applications/services/gui/canvas_i.h b/applications/services/gui/canvas_i.h index f3b8f17a..5f7d69e7 100644 --- a/applications/services/gui/canvas_i.h +++ b/applications/services/gui/canvas_i.h @@ -96,4 +96,4 @@ void canvas_draw_u8g2_bitmap( uint8_t width, uint8_t height, const uint8_t* bitmap, - uint8_t rotation); + IconRotation rotation); diff --git a/lib/u8g2/u8g2.h b/lib/u8g2/u8g2.h index 68611d48..540b7a87 100644 --- a/lib/u8g2/u8g2.h +++ b/lib/u8g2/u8g2.h @@ -67,7 +67,7 @@ Use 16 Bit mode for any display with more than 240 pixel in one direction. */ -//#define U8G2_16BIT +#define U8G2_16BIT /* The following macro switches the library into dynamic display buffer allocation mode.