added payload and in1219 start to restart

pico-i2c
alanbjohnston 3 years ago committed by GitHub
parent 54dd5c56d9
commit b4ceadca6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4268,12 +4268,14 @@ void prompt_for_input() {
case PROMPT_RESTART:
prompt = false;
// Serial.println("Restart not yet implemented");
start_payload();
start_ina219();
if (mode != CW)
transmit_callsign(callsign);
sleep(0.5);
config_telem();
config_radio();
sampleTime = (unsigned int) millis();
transmit_callsign(callsign);
sleep(0.5);
config_telem();
config_radio();
sampleTime = (unsigned int) millis();
break;
case PROMPT_DEBUG:

Loading…
Cancel
Save

Powered by TurnKey Linux.