Update main.c typo file

beta-v1.3.2-battery-saver-2
Alan Johnston 2 years ago committed by GitHub
parent 76f300541f
commit 5f39728cb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2239,7 +2239,7 @@ if ((uart_fd = serialOpen("/dev/ttyAMA0", 9600)) >= 0) { // was 9600
int battery_saver(int setting) {
if (setting == CHECK) {
*FILE file = fopen("/home/pi/CubeSatSim/battery_saver", "r");
FILE *file = fopen("/home/pi/CubeSatSim/battery_saver", "r");
if (file == NULL) {
printf("Battery saver mode is OFF\n");
fclose(file);

Loading…
Cancel
Save

Powered by TurnKey Linux.