cleanup
parent
586468a7c9
commit
a9d5837f40
|
@ -105,11 +105,11 @@ __inline void lld_lcdReadStream(uint16_t *buffer, size_t size) {
|
||||||
buffer[i] = lld_lcdReadData();
|
buffer[i] = lld_lcdReadData();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif // LCD_USE_GPIO
|
||||||
|
|
||||||
#ifdef LCD_USE_SPI
|
#ifdef LCD_USE_SPI
|
||||||
/* TODO */
|
/* TODO */
|
||||||
#endif
|
#endif // LCD_USE_SPI
|
||||||
|
|
||||||
#ifdef LCD_USE_FSMC
|
#ifdef LCD_USE_FSMC
|
||||||
|
|
||||||
|
@ -170,7 +170,7 @@ __inline void lld_lcdReadStream(uint16_t *buffer, size_t size) {
|
||||||
buffer[i] = LCD_RAM;
|
buffer[i] = LCD_RAM;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif // LCD_USE_FSMC
|
||||||
|
|
||||||
static __inline void lld_lcdDelay(uint16_t us) {
|
static __inline void lld_lcdDelay(uint16_t us) {
|
||||||
chThdSleepMicroseconds(us);
|
chThdSleepMicroseconds(us);
|
||||||
|
|
|
@ -11,7 +11,7 @@ static WORKING_AREA(waGLCDWorkerThread, GLCD_WORKER_SIZE);
|
||||||
static msg_t ThreadGLCDWorker(void *arg) {
|
static msg_t ThreadGLCDWorker(void *arg) {
|
||||||
(void)arg;
|
(void)arg;
|
||||||
Thread *p;
|
Thread *p;
|
||||||
uint16_t ret;
|
uint16_t ret; // return value
|
||||||
|
|
||||||
chRegSetThreadName("GLCDWorker");
|
chRegSetThreadName("GLCDWorker");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue