From 1c02cf534ee1e12703b614e1c0c26fd940ed8e4f Mon Sep 17 00:00:00 2001 From: NiHuShu <30984569+NiHuShu@users.noreply.github.com> Date: Thu, 30 Jan 2020 12:23:50 +0100 Subject: [PATCH] Fixed not compiling when using 27xx profile I'm not sure if this is the correct fix but without this one line the code wouldn't compile and it would say that "data" wasn't declared. --- TommyPROM/PromDevice27.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/TommyPROM/PromDevice27.cpp b/TommyPROM/PromDevice27.cpp index 3e29e41..1cf7e2b 100644 --- a/TommyPROM/PromDevice27.cpp +++ b/TommyPROM/PromDevice27.cpp @@ -85,6 +85,7 @@ bool PromDevice27::burnByte(byte value, uint32_t address) bool status = false; unsigned writeCount = 0; + byte data = 0; disableOutput(); disableWrite(); enableChip();