Skip to content

Commit 8f6c8e3

Browse files
committed
Fixed warning regarding scope of allFF variable
1 parent 84fe72f commit 8f6c8e3

File tree

2 files changed

+141
-140
lines changed

2 files changed

+141
-140
lines changed

Atmega_Hex_Uploader/Atmega_Hex_Uploader.ino

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Atmega hex file uploader (from SD card)
22
// Author: Nick Gammon
33
// Date: 22nd May 2012
4-
// Version: 1.35 // NB update 'Version' variable below!
4+
// Version: 1.36 // NB update 'Version' variable below!
55

66
// Version 1.1: Some code cleanups as suggested on the Arduino forum.
77
// Version 1.2: Cleared temporary flash area to 0xFF before doing each page
@@ -43,6 +43,7 @@
4343
// Version 1.33: Major tidy-ups, made code more modular
4444
// Version 1.34: Added include for SPI.h, and various tidy-ups to correct some issues
4545
// Version 1.35: Got rid of compiler warnings in IDE 1.6.7
46+
// Version 1.36: Got rid of warning from cppcheck regarding scope of allFF variable
4647

4748

4849
const bool allowTargetToRun = true; // if true, programming lines are freed when not programming
@@ -124,7 +125,7 @@ const bool allowTargetToRun = true; // if true, programming lines are freed whe
124125

125126
// #include <memdebug.h>
126127

127-
const char Version [] = "1.35";
128+
const char Version [] = "1.36";
128129

129130
const unsigned int ENTER_PROGRAMMING_ATTEMPTS = 50;
130131

0 commit comments

Comments
 (0)