fix: allow selection of flex axis as a source (#5195)

This commit is contained in:
3djc
2024-06-19 11:50:21 +10:00
committed by GitHub
parent e596fc5a47
commit a3444af03c
+1 -1
View File
@@ -129,7 +129,7 @@ void memswap(void * a, void * b, uint8_t size);
#define IS_SLIDER(x) (POT_CONFIG(x) == FLEX_SLIDER)
#define IS_POT_AVAILABLE(x) \
(POT_CONFIG(x) != FLEX_NONE && POT_CONFIG(x) <= FLEX_MULTIPOS)
(POT_CONFIG(x) != FLEX_NONE && POT_CONFIG(x) < FLEX_SWITCH)
#define IS_POT_SLIDER_AVAILABLE(x) (IS_POT_AVAILABLE(x))