fixed errors in raspberrypi.cpp