From 154bb749567217c35e9c3759aa2ad721522a8598 Mon Sep 17 00:00:00 2001 From: Chris Satterlee Date: Fri, 11 Oct 2019 16:52:59 -0700 Subject: [PATCH] Add F() to a couple short fixed strings (Issue #71) All fixed strings should use F(). There were a couple very short strings that did not. See Issue #71. --- Arduino/IV_Swinger2/IV_Swinger2.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Arduino/IV_Swinger2/IV_Swinger2.ino b/Arduino/IV_Swinger2/IV_Swinger2.ino index 0896343..b7592da 100644 --- a/Arduino/IV_Swinger2/IV_Swinger2.ino +++ b/Arduino/IV_Swinger2/IV_Swinger2.ino @@ -401,10 +401,10 @@ void setup() Serial.print(ii+1); Serial.print(F(" is 0x")); for (int jj = 7; jj >= 0; jj--) { - if (rom_code[jj] < 16) Serial.print('0'); + if (rom_code[jj] < 16) Serial.print(F("0")); Serial.print(rom_code[jj], HEX); } - Serial.println(""); + Serial.println(F("")); } #endif }