diff --git a/firmware/common/ui_portapack.c b/firmware/common/ui_portapack.c index f24f5ae4..b68a2e07 100644 --- a/firmware/common/ui_portapack.c +++ b/firmware/common/ui_portapack.c @@ -247,11 +247,11 @@ static const uint8_t bitmap_waves_data[] = { 0x00, 0x03, 0x00, 0x03, 0x00, 0x06, 0x30, 0x06, 0x30, 0x06, 0x30, 0x06, 0x60, 0x0c, 0x63, 0x0c, 0x63, 0x0c, 0x63, 0x0c, 0x63, 0x0c, 0x63, 0x0c, 0x63, 0x0c, 0x60, 0x0c, 0x30, 0x06, 0x30, 0x06, 0x30, 0x06, 0x00, 0x06, 0x00, 0x03, 0x00, 0x03 }; -static const ui_bitmap_t bitmap_waves = { +__attribute__((unused)) static const ui_bitmap_t bitmap_waves = { { 16, 20 }, bitmap_waves_data }; -static ui_color_t portapack_color_rgb( +__attribute__((unused)) static ui_color_t portapack_color_rgb( const uint_fast8_t r, const uint_fast8_t g, const uint_fast8_t b @@ -274,8 +274,8 @@ static void portapack_sleep_milliseconds(const uint32_t milliseconds) { static struct gpio_t gpio_io_stbx = GPIO(5, 0); /* P2_0 */ static struct gpio_t gpio_addr = GPIO(5, 1); /* P2_1 */ -static struct gpio_t gpio_lcd_te = GPIO(5, 3); /* P2_3 */ -static struct gpio_t gpio_unused = GPIO(5, 7); /* P2_8 */ +__attribute__((unused)) static struct gpio_t gpio_lcd_te = GPIO(5, 3); /* P2_3 */ +__attribute__((unused)) static struct gpio_t gpio_unused = GPIO(5, 7); /* P2_8 */ static struct gpio_t gpio_lcd_rdx = GPIO(5, 4); /* P2_4 */ static struct gpio_t gpio_lcd_wrx = GPIO(1, 10); /* P2_9 */ static struct gpio_t gpio_dir = GPIO(1, 13); /* P2_13 */ @@ -334,7 +334,7 @@ static void portapack_dir_write() { */ } -static void portapack_lcd_rd_assert() { +__attribute__((unused)) static void portapack_lcd_rd_assert() { gpio_clear(portapack.gpio_lcd_rdx); }