mirror of
https://github.com/clockworkpi/WiringPi.git
synced 2026-03-19 02:12:43 +01:00
OK. So the Pi v2 I have had older firmware and it wasn't quite
the same as everyone elses. This is an interim version which will work on both Pi v1 and v2 boards until I have a bit more time to implement the correct stuff for v2.
This commit is contained in:
28
build
28
build
@@ -102,20 +102,20 @@ fi
|
||||
|
||||
hardware=`fgrep Hardware /proc/cpuinfo | head -1 | awk '{ print $3 }'`
|
||||
|
||||
if [ x$hardware != "xBCM2708" ]; then
|
||||
echo ""
|
||||
echo " +------------------------------------------------------------+"
|
||||
echo " | wiringPi is designed to run on the Raspberry Pi only. |"
|
||||
echo " | This processor does not appear to be a Raspberry Pi. |"
|
||||
echo " +------------------------------------------------------------+"
|
||||
echo " | In the unlikely event that you think it is a Raspberry Pi, |"
|
||||
echo " | then please accept my apologies and email the contents of |"
|
||||
echo " | /proc/cpuinfo to projects@drogon.net. |"
|
||||
echo " | - Thanks, Gordon |"
|
||||
echo " +------------------------------------------------------------+"
|
||||
echo ""
|
||||
exit 1
|
||||
fi
|
||||
# if [ x$hardware != "xBCM2708" ]; then
|
||||
# echo ""
|
||||
# echo " +------------------------------------------------------------+"
|
||||
# echo " | wiringPi is designed to run on the Raspberry Pi only. |"
|
||||
# echo " | This processor does not appear to be a Raspberry Pi. |"
|
||||
# echo " +------------------------------------------------------------+"
|
||||
# echo " | In the unlikely event that you think it is a Raspberry Pi, |"
|
||||
# echo " | then please accept my apologies and email the contents of |"
|
||||
# echo " | /proc/cpuinfo to projects@drogon.net. |"
|
||||
# echo " | - Thanks, Gordon |"
|
||||
# echo " +------------------------------------------------------------+"
|
||||
# echo ""
|
||||
# exit 1
|
||||
# fi
|
||||
|
||||
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user