added PROMPT_FORMAT

pico-format
alanbjohnston 3 years ago committed by GitHub
parent 1d4e558835
commit 64f5af5f83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4052,10 +4052,7 @@ void serial_input() {
case 'F':
Serial.println("Formatting flash memory");
LittleFS.format();
Serial.println("Reboot or power cycle to restart the CubeSatSim");
while (1) ; // infinite loop
prompt = PROMPT_FORMAT;
break;
case 'f':
Serial.println("Change to FSK mode");
@ -4283,6 +4280,12 @@ void prompt_for_input() {
read_ina219();
break;
case PROMPT_FORMAT:
LittleFS.format();
Serial.println("Reboot or power cycle to restart the CubeSatSim");
while (1) ; // infinite loop
break;
case PROMPT_PAYLOAD:
Serial.println("Resetting the Payload");
payload_command = PAYLOAD_RESET;

Loading…
Cancel
Save

Powered by TurnKey Linux.