Skip to content

Commit

Permalink
Fixing Hisi chip identification for good
Browse files Browse the repository at this point in the history
  • Loading branch information
wberube committed Sep 11, 2024
1 parent 34374a1 commit 865afdf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/hal/support.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,11 +273,11 @@ void hal_identify(void) {
if (chip[6] == '0') {
chip[6] = 'V';
} else {
chip[11] = '\0';
chip[10] = chip[9];
chip[9] = chip[8];
chip[8] = chip[7];
chip[7] = 'V';
chip[9] = chip[8];
chip[10] = chip[9];
chip[11] = '\0';
}

if (out == 0x35180100) {
Expand Down

0 comments on commit 865afdf

Please sign in to comment.