mirror of
https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git
synced 2023-10-10 13:37:40 +02:00
Fix get_rpi_version
This commit is contained in:
parent
dd2e7a6c58
commit
6f1bab846b
@ -43,13 +43,13 @@ proc ::rmupdate::get_rpi_version {} {
|
||||
return "rpi0"
|
||||
} elseif {$revision == "a21041"} {
|
||||
# Pi 2 Model B
|
||||
return "rpi2"
|
||||
return "rpi3"
|
||||
} elseif {$revision == "0012"} {
|
||||
# Pi Model A+
|
||||
return "rpi1"
|
||||
return "rpi0"
|
||||
} elseif {$revision == "0010"} {
|
||||
# Pi Model B+
|
||||
return "rpi1"
|
||||
return "rpi0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user