mirror of
https://github.com/ole00/afterburner.git
synced 2025-01-15 08:29:45 +00:00
PC App: fix gal type, take 2
Thanks rhgndf for pointing that out!
This commit is contained in:
parent
a1fc6bb2f7
commit
f63ae40bb4
@ -1106,7 +1106,7 @@ static char operationEraseGal(void) {
|
||||
sendLine(buf, MAX_LINE, 300);
|
||||
|
||||
//set GAL type
|
||||
sprintf(buf, "#t %i\r", (int) gal);
|
||||
sprintf(buf, "#t %c\r", '0' + (int) gal);
|
||||
sendLine(buf, MAX_LINE, 300);
|
||||
|
||||
//Exit upload mode (ensure the return texts are discarded by waiting 100 ms)
|
||||
@ -1137,7 +1137,7 @@ static char operationReadFuses(void) {
|
||||
sendLine(buf, MAX_LINE, 100);
|
||||
|
||||
//set GAL type
|
||||
sprintf(buf, "#t %i\r", (int) gal);
|
||||
sprintf(buf, "#t %c\r", '0' + (int) gal);
|
||||
sendLine(buf, MAX_LINE, 100);
|
||||
|
||||
//Exit upload mode (ensure the texts are discarded by waiting 100 ms)
|
||||
|
Loading…
x
Reference in New Issue
Block a user