🎨 Check flags without ENABLED

This commit is contained in:
Scott Lahteine
2021-07-09 17:09:58 -05:00
parent 6cbd21d0d4
commit 26bfc26797
31 changed files with 90 additions and 90 deletions

View File

@@ -32,13 +32,13 @@
class Joystick {
friend class Temperature;
private:
#if ENABLED(HAS_JOY_ADC_X)
#if HAS_JOY_ADC_X
static temp_info_t x;
#endif
#if ENABLED(HAS_JOY_ADC_Y)
#if HAS_JOY_ADC_Y
static temp_info_t y;
#endif
#if ENABLED(HAS_JOY_ADC_Z)
#if HAS_JOY_ADC_Z
static temp_info_t z;
#endif
public: