We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebddadd commit 942a8a3Copy full SHA for 942a8a3
src/items.h
@@ -246,7 +246,8 @@
246
void clearChanged(const navNode &nav,const menuOut& out,bool sub) override;
247
inline idx_t sz() const {return ((menuNodeShadow*)shadow)->_sz();}
248
inline prompt* constMEM* data() const {return ((menuNodeShadow*)shadow)->_data();}
249
- #ifdef MENU_USERAM
+ #if defined(MENU_USERAM) && ! defined(swap)
250
+ //Adafruit_GFX_AS defines swap macro (what a bad idea)
251
void swap(idx_t a,idx_t b) {
252
if (has(_menuData)) {//ignore on virtual data menus
253
auto ops=((menuNodeShadow*)shadow)->_data();
0 commit comments