Update update add .cpp

pi-sensors
Alan Johnston 3 months ago committed by GitHub
parent 0d3eee64e5
commit e7bba7143f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -283,7 +283,7 @@ if [ ! -f "/home/pi/MPU6050-C-CPP-Library-for-Raspberry-Pi" ]; then
cd MPU6050-C-CPP-Library-for-Raspberry-Pi
sudo make install
make example
g++ mpu6050.o -o mpu6050 -lMPU6050 -pthread
g++ mpu6050.cpp -o mpu6050 -lMPU6050 -pthread
fi
cd /home/pi/MPU6050-C-CPP-Library-for-Raspberry-Pi
@ -296,7 +296,7 @@ git pull --no-rebase > .updated_p
echo "updating MPU6050-C-CPP-Library-for-Raspberry-Pi"
sudo make install
make example
g++ mpu6050.o -o mpu6050 -lMPU6050 -pthread
g++ mpu6050.cpp -o mpu6050 -lMPU6050 -pthread
else
echo "nothing to do for MPU6050-C-CPP-Library-for-Raspberry-Pi."

Loading…
Cancel
Save

Powered by TurnKey Linux.