Skip to content

Commit

Permalink
(Continued)
Browse files Browse the repository at this point in the history
  • Loading branch information
wberube committed Aug 9, 2024
1 parent 2413956 commit 76905ec
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/hal/support.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,11 @@ void hal_identify(void) {
if (!i && (SCSYSID[i] >> 16 & 0xFF)) { out = SCSYSID[i]; break; }
out |= (SCSYSID[i] & 0xFF) << i * 8;
}

if (out == 0x35180100) {
v1series = 1;
v2series = 0;
}

sprintf(chipId, "%s%X",
((out >> 28) == 0x7) ? "GK" : "Hi", out);
Expand Down

0 comments on commit 76905ec

Please sign in to comment.