From 3096146da872e108c04d725db2f60b31cf58dfad Mon Sep 17 00:00:00 2001 From: Federico Amedeo Izzo Date: Thu, 22 Oct 2020 16:20:51 +0200 Subject: [PATCH] graphics_rgb565.c: Removed backlight setter (now in platform.c) and fixed license authors --- openrtx/src/graphics/graphics_rgb565.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/openrtx/src/graphics/graphics_rgb565.c b/openrtx/src/graphics/graphics_rgb565.c index b745ebd4..ab050609 100644 --- a/openrtx/src/graphics/graphics_rgb565.c +++ b/openrtx/src/graphics/graphics_rgb565.c @@ -1,5 +1,6 @@ /*************************************************************************** - * Copyright (C) 2020 by Federico Izzo IU2NUO, Niccolò Izzo IU2KIN and * + * Copyright (C) 2020 by Federico Izzo IU2NUO, * + * Niccolò Izzo IU2KIN, * * Silvano Seva IU2KWO * * * * This program is free software; you can redistribute it and/or modify * @@ -27,8 +28,6 @@ #include "graphics.h" #include "font_OpenGD77.h" -#define COLOR_WHITE = {31, 63, 31} - /* This graphics driver is meant for an RGB565 little endian pixel format. * Thus, to accomodate for the endianness, the fields in struct rgb565_t have to * be written in reversed order. @@ -75,11 +74,6 @@ uint16_t gfx_screenHeight() return display_screenHeight(); } -void gfx_setBacklightLevel(uint8_t level) -{ - display_setBacklightLevel(level); -} - void gfx_renderRows(uint8_t startRow, uint8_t endRow) { display_renderRows(startRow, endRow);