Skip to content

Commit

Permalink
Identify Pi zero and Pi 1 separately
Browse files Browse the repository at this point in the history
  • Loading branch information
IanSB committed Dec 17, 2021
1 parent a6ad346 commit 12ad6a7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/osd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1638,7 +1638,11 @@ static void info_system_summary(int line) {

switch (_get_hardware_id()) {
case 1:
sprintf(message, " Processor: Pi Zero or Pi 1");
if (core_clock == 250) {
sprintf(message, " Processor: Pi 1");
} else {
sprintf(message, " Processor: Pi Zero");
}
break;
case 2:
sprintf(message, " Processor: Pi 2");
Expand Down

0 comments on commit 12ad6a7

Please sign in to comment.