Fixes for TFTGLCD Panel, FastIO (#19614)

This commit is contained in:
Serhiy-K
2020-10-10 13:01:46 +03:00
committed by Scott Lahteine
parent 406f8363bc
commit 6fdaaf3d20
12 changed files with 112 additions and 162 deletions

View File

@@ -71,7 +71,7 @@ public:
inline void restore() { ref_ = val_; }
};
#define REMEMBER(N,X,V...) restorer<typeof(X)> restorer_##N(X, ##V)
#define REMEMBER(N,X,V...) restorer<__typeof__(X)> restorer_##N(X, ##V)
#define RESTORE(N) restorer_##N.restore()
// Converts from an uint8_t in the range of 0-255 to an uint8_t