revert(color): saving screenshot to PNG does not work reliably (#7069)

This commit is contained in:
philmoz
2026-02-06 14:14:43 +10:00
committed by GitHub
parent 07c767af2e
commit de5f4eb5dc
2 changed files with 71 additions and 18 deletions
+2 -2
View File
@@ -28,9 +28,9 @@
#include "bitmaps.h"
#include "debug.h"
#if !(defined(STM32H7) || defined(STM32H7RS))
// #if !(defined(STM32H7) || defined(STM32H7RS))
#define STB_IMAGE_WRITE_IMPLEMENTATION
#endif
// #endif
#include "stb/stb_image_write.h"
void convert_RGB565_to_RGB888(uint8_t* dst, const BitmapBuffer* src, coord_t w,