added sleep after shutdown log

pull/101/head
alanbjohnston 5 years ago committed by GitHub
parent 22ad99c181
commit a8235d7bff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -657,6 +657,7 @@ int main(int argc, char * argv[]) {
digitalWrite(onLed, onLedOff);
popen("/home/pi/CubeSatSim/log > shutdown_log.txt", "r");
sleep(20);
popen("sudo shutdown -h now > /dev/null 2>&1", "r");
sleep(10);
}

Loading…
Cancel
Save

Powered by TurnKey Linux.