Don't fire compiler warnings on missing driver configuration

This commit is contained in:
Tomas Rezucha 2021-08-04 10:11:18 +02:00
parent 803c58774c
commit 01dc1259f8
4 changed files with 9 additions and 11 deletions

View file

@ -182,8 +182,7 @@ void il3820_set_px_cb(lv_disp_drv_t * disp_drv, uint8_t* buf,
#else
(void)byte_index;
(void)bit_index;
assert(false); // Crash if we get here, but allow compilation for CI
#warning "Unsupported orientation used"
assert(false); // Unsupported orientation configured. Crash if we get here, but allow compilation for CI
#endif
}