mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 09:45:21 +03:00
Circular inclusions removed
This commit is contained in:
parent
7e39ccf80c
commit
5c52b74574
2 changed files with 2 additions and 4 deletions
|
@ -30,7 +30,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "lcd.h"
|
#include "open9x.h"
|
||||||
|
|
||||||
const pm_uchar font[] PROGMEM = {
|
const pm_uchar font[] PROGMEM = {
|
||||||
#include "font.lbm"
|
#include "font.lbm"
|
||||||
|
@ -380,7 +380,7 @@ void lcd_vlineStip(uint8_t x, int8_t y, int8_t h, uint8_t pat)
|
||||||
p += DISPLAY_W;
|
p += DISPLAY_W;
|
||||||
h -= 8;
|
h -= 8;
|
||||||
}
|
}
|
||||||
h = (h+8) % 8;
|
h = (h+8) % 8; // TODO optim
|
||||||
if (h) {
|
if (h) {
|
||||||
p -= DISPLAY_W;
|
p -= DISPLAY_W;
|
||||||
assert(p >= displayBuf && p < DISPLAY_END);
|
assert(p >= displayBuf && p < DISPLAY_END);
|
||||||
|
|
|
@ -33,8 +33,6 @@
|
||||||
#ifndef lcd_h
|
#ifndef lcd_h
|
||||||
#define lcd_h
|
#define lcd_h
|
||||||
|
|
||||||
#include "open9x.h"
|
|
||||||
|
|
||||||
#define DISPLAY_W 128
|
#define DISPLAY_W 128
|
||||||
#define DISPLAY_H 64
|
#define DISPLAY_H 64
|
||||||
#define FW 6
|
#define FW 6
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue