🐛 Fix DGUS Reloaded + STM32 (#24600)

This commit is contained in:
Protomosh
2022-08-19 20:57:27 +03:00
committed by GitHub
parent 306e03b03b
commit 4ae9bf3b9d
8 changed files with 102 additions and 108 deletions

View File

@@ -42,6 +42,10 @@
#endif
// endianness swap
#define BE16_P(V) ( ((uint8_t*)(V))[0] << 8U | ((uint8_t*)(V))[1] )
#define BE32_P(V) ( ((uint8_t*)(V))[0] << 24U | ((uint8_t*)(V))[1] << 16U | ((uint8_t*)(V))[2] << 8U | ((uint8_t*)(V))[3] )
#if ENABLED(DGUS_LCD_UI_ORIGIN)
#include "origin/DGUSScreenHandler.h"
#elif ENABLED(DGUS_LCD_UI_MKS)