From 350000da5fdbf63925475979079a36cef9df6db6 Mon Sep 17 00:00:00 2001 From: Rodrigo Alfonso Date: Mon, 17 Feb 2025 22:11:26 -0300 Subject: [PATCH] Fixing new gcc warning --- lib/iwram_code/LinkIR.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/iwram_code/LinkIR.cpp b/lib/iwram_code/LinkIR.cpp index ccf6842..8b11519 100644 --- a/lib/iwram_code/LinkIR.cpp +++ b/lib/iwram_code/LinkIR.cpp @@ -120,7 +120,7 @@ LINK_CODE_IWRAM void LinkIR::_onSerial() { lastLightTime = getCount(); if (transitionCount == 0) firstLightTime = lastLightTime; - transitionCount++; + transitionCount = transitionCount + 1; } /**