fixes
This commit is contained in:
parent
4e8d2569d6
commit
459fbf6781
2 changed files with 2 additions and 3 deletions
|
@ -99,7 +99,6 @@ static inline void setwritemode(GDisplay *g) {
|
||||||
static inline uint16_t read_data(GDisplay *g) {
|
static inline uint16_t read_data(GDisplay *g) {
|
||||||
return palReadPort(GPIOE);
|
return palReadPort(GPIOE);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(GDISP_USE_DMA)
|
#if defined(GDISP_USE_DMA)
|
||||||
#error "GDISP - SSD1289: The GPIO interface does not support DMA"
|
#error "GDISP - SSD1289: The GPIO interface does not support DMA"
|
||||||
|
|
|
@ -108,8 +108,8 @@ GDisplay *GDISP = GDisplayArray;
|
||||||
if ((g->flags & GDISP_FLG_SCRSTREAM)) { \
|
if ((g->flags & GDISP_FLG_SCRSTREAM)) { \
|
||||||
gdisp_lld_write_stop(g); \
|
gdisp_lld_write_stop(g); \
|
||||||
g->flags &= ~GDISP_FLG_SCRSTREAM; \
|
g->flags &= ~GDISP_FLG_SCRSTREAM; \
|
||||||
}
|
} \
|
||||||
autoflush_stopdone(g);
|
autoflush_stopdone(g); \
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
#define autoflush(g) autoflush_stopdone(g)
|
#define autoflush(g) autoflush_stopdone(g)
|
||||||
|
|
Loading…
Add table
Reference in a new issue