mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
remove hardcoded MODEL_TS80 (#393)
* remove hardcoded MODEL_TS80 * #define MODEL_TS100 in sw4stm32/atollic config * whitespace fix * use sum of 'defined' instead of logic * only print handle temp, not PCBVersion * whitespace fix
This commit is contained in:
committed by
Ben V. Brown
parent
ffeacca74d
commit
81e87c86d0
@@ -18,11 +18,11 @@ enum Orientation {
|
||||
ORIENTATION_RIGHT_HAND = 1,
|
||||
ORIENTATION_FLAT = 3
|
||||
};
|
||||
#define MODEL_TS80
|
||||
#ifndef MODEL_TS100
|
||||
#ifndef MODEL_TS80
|
||||
#error "Please Define the model you are building for! MODEL=TS100 or MODEL=TS80"
|
||||
#endif
|
||||
|
||||
#if defined(MODEL_TS100) + defined(MODEL_TS80) > 1
|
||||
#error "Multiple models defined!"
|
||||
#elif defined(MODEL_TS100) + defined(MODEL_TS80) == 0
|
||||
#error "No model defined!"
|
||||
#endif
|
||||
|
||||
#ifdef MODEL_TS100
|
||||
|
||||
Reference in New Issue
Block a user