Remove display driver dependancies on Kconfig

This commit is contained in:
Tomas Rezucha 2021-08-03 16:35:25 +02:00
parent 678779c848
commit 803c58774c
11 changed files with 89 additions and 89 deletions

View file

@ -180,7 +180,10 @@ void il3820_set_px_cb(lv_disp_drv_t * disp_drv, uint8_t* buf,
BIT_CLEAR(buf[byte_index], 7 - bit_index);
}
#else
#error "Unsupported orientation used"
(void)byte_index;
(void)bit_index;
assert(false); // Crash if we get here, but allow compilation for CI
#warning "Unsupported orientation used"
#endif
}