Update to latest libopenui

This commit is contained in:
Bertrand Songis
2020-10-26 16:13:24 +01:00
parent df7b1ba235
commit cd6aa7af00
4 changed files with 19 additions and 22 deletions
+4 -1
View File
@@ -22,13 +22,16 @@
#define _OPENTX_HELPERS_H_
#include <string.h>
#include "thirdparty/libopenui/src/libopenui_helpers.h"
#if defined(COLORLCD)
#include "thirdparty/libopenui/src/libopenui_helpers.h"
#else
template<class T>
inline T sgn(T a)
{
return a > 0 ? 1 : (a < 0 ? -1 : 0);
}
#endif
template<class T>
inline void SWAP(T & a, T & b)