mirror of
https://github.com/polpo/picogus.git
synced 2026-10-25 21:40:16 +00:00
Exit pgusinit when card not detected instead of carrying on
This commit is contained in:
1 parent
621d649e23
commit
897dd3ca61
1 file changed
+1
-1
+1
-1
@@ -455,7 +455,7 @@ int main(int argc, char* argv[]) {
|
||||
outp(CONTROL_PORT, MODE_MAGIC); // Select magic string register
|
||||
if (inp(DATA_PORT_HIGH) != 0xDD) {
|
||||
err_pigus();
|
||||
//return 99;
|
||||
return 99;
|
||||
};
|
||||
printf("PicoGUS detected: ");
|
||||
print_firmware_string();
|
||||
|
||||
Reference in new issue
Block a user