fix(h7): various build fixes (#5283)

Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
This commit is contained in:
Raphael Coeffic
2024-07-11 11:28:49 +02:00
committed by GitHub
co-authored by raphaelcoeffic
parent 170bdebcc4
commit c7bc9f01c9
8 changed files with 42 additions and 12 deletions
@@ -44,6 +44,13 @@ enum PaddingSize {
// Macros for setting up layout values
// LAYOUT_VAL - 2 values - landscape, portrait
#if !defined(LANDSCAPE_LCD)
# error "LANDSCAPE_LCD must be defined"
#endif
#if !defined(PORTRAIT_LCD)
# error "PORTRAIT_LCD must be defined"
#endif
#if LANDSCAPE_LCD
#define LAYOUT_VAL(name, landscape, portrait) \