🎨 Misc. 'else' cleanup

This commit is contained in:
Scott Lahteine committed 2022-08-01 01:59:37 -05:00
1 parent ec9a2ee557
commit 9534c6e903
5 files changed
+48 -43

No files matched your search

+2 -2
View File
@@ -372,9 +372,9 @@ void TFT_LTDC::TransmitDMA(uint32_t MemoryIncrease, uint16_t *Data, uint16_t Cou
if (MemoryIncrease == DMA_PINC_ENABLE) {
DrawImage(x_min, y_cur, x_min + width, y_cur + height, Data);
Data += width * height;
} else {
DrawRect(x_min, y_cur, x_min + width, y_cur + height, *Data);
}
else
DrawRect(x_min, y_cur, x_min + width, y_cur + height, *Data);
y_cur += height;
}