aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/gfx/Gfx.cpp
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2023-11-01 21:06:26 +0100
committerJF <JF002@users.noreply.github.com>2023-11-19 21:13:55 +0100
commit473d9c4fa4d887275eafa9a2f4ef98b3e18695a7 (patch)
treed0ea2ff836a8efdbea5558a3d491760ccdd4d2ba /src/components/gfx/Gfx.cpp
parent97ba1a456df385798875c41b29e17273bac92c2d (diff)
Fix code formatting
Diffstat (limited to 'src/components/gfx/Gfx.cpp')
-rw-r--r--src/components/gfx/Gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/gfx/Gfx.cpp b/src/components/gfx/Gfx.cpp
index d3ef3d08..baa6486a 100644
--- a/src/components/gfx/Gfx.cpp
+++ b/src/components/gfx/Gfx.cpp
@@ -141,7 +141,7 @@ void Gfx::SetBackgroundColor(uint16_t color) {
bool Gfx::GetNextBuffer(uint8_t** data, size_t& size) {
if (!state.busy)
return false;
- state.remainingIterations = state.remainingIterations-1;
+ state.remainingIterations = state.remainingIterations - 1;
if (state.remainingIterations == 0) {
state.busy = false;
NotifyEndOfTransfer(state.taskToNotify);