mirror of
https://github.com/opentx/opentx.git
synced 2025-07-13 11:29:51 +03:00
Cosmetics
This commit is contained in:
parent
0571b49763
commit
1d24fe93cc
2 changed files with 2 additions and 2 deletions
|
@ -80,7 +80,7 @@ const char * writeScreenshot()
|
|||
#if defined(COLORLCD)
|
||||
for (int y = LCD_H - 1; y >= 0; y--) {
|
||||
for (int x = 0; x < LCD_W; x++) {
|
||||
pixel_t pixel = *lcd->getPixelPtr(x, y);
|
||||
auto pixel = *lcd->getPixelPtr(x, y);
|
||||
uint32_t dst = (0xFF << 24) + (GET_RED(pixel) << 16) + (GET_GREEN(pixel) << 8) + (GET_BLUE(pixel) << 0);
|
||||
if (f_write(&bmpFile, &dst, sizeof(dst), &written) != FR_OK || written != sizeof(dst)) {
|
||||
f_close(&bmpFile);
|
||||
|
|
2
radio/src/thirdparty/libopenui
vendored
2
radio/src/thirdparty/libopenui
vendored
|
@ -1 +1 @@
|
|||
Subproject commit 9f0cff2c987974c487565ba908199918d25a5b2f
|
||||
Subproject commit 1164767d532ca63c55db1071d4d940b0d5a97de2
|
Loading…
Add table
Add a link
Reference in a new issue