kopia lustrzana https://github.com/OpenRTX/OpenRTX
graphics_rgb565.c: Removed backlight setter (now in platform.c)
and fixed license authorsreplace/21edce80ee775766bc8cc212821fa9e41455a493
rodzic
06346ac827
commit
3096146da8
|
@ -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 *
|
* Silvano Seva IU2KWO *
|
||||||
* *
|
* *
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
* This program is free software; you can redistribute it and/or modify *
|
||||||
|
@ -27,8 +28,6 @@
|
||||||
#include "graphics.h"
|
#include "graphics.h"
|
||||||
#include "font_OpenGD77.h"
|
#include "font_OpenGD77.h"
|
||||||
|
|
||||||
#define COLOR_WHITE = {31, 63, 31}
|
|
||||||
|
|
||||||
/* This graphics driver is meant for an RGB565 little endian pixel format.
|
/* 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
|
* Thus, to accomodate for the endianness, the fields in struct rgb565_t have to
|
||||||
* be written in reversed order.
|
* be written in reversed order.
|
||||||
|
@ -75,11 +74,6 @@ uint16_t gfx_screenHeight()
|
||||||
return display_screenHeight();
|
return display_screenHeight();
|
||||||
}
|
}
|
||||||
|
|
||||||
void gfx_setBacklightLevel(uint8_t level)
|
|
||||||
{
|
|
||||||
display_setBacklightLevel(level);
|
|
||||||
}
|
|
||||||
|
|
||||||
void gfx_renderRows(uint8_t startRow, uint8_t endRow)
|
void gfx_renderRows(uint8_t startRow, uint8_t endRow)
|
||||||
{
|
{
|
||||||
display_renderRows(startRow, endRow);
|
display_renderRows(startRow, endRow);
|
||||||
|
|
Ładowanie…
Reference in New Issue