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.
This commit is contained in:
NiHuShu 2020-01-30 12:23:50 +01:00 committed by GitHub
parent 463cbbf154
commit 1c02cf534e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ bool PromDevice27::burnByte(byte value, uint32_t address)
bool status = false;
unsigned writeCount = 0;
byte data = 0;
disableOutput();
disableWrite();
enableChip();