Skip to content
Snippets Groups Projects
Commit c585f55e authored by Stephen D's avatar Stephen D
Browse files

basic quicktest command for QA purposes

parent 63f298d0
No related branches found
No related tags found
No related merge requests found
...@@ -218,6 +218,24 @@ impl Shell { ...@@ -218,6 +218,24 @@ impl Shell {
self.config = Config::default(); self.config = Config::default();
} }
// Used for QA only
"quicktest" => {
self.config = Config {
callsign: args.try_into().unwrap(),
icon: 0,
ssid: 255,
max_hops: 0,
comment: ArrayString::from("Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibu").unwrap(),
transmit_period_seconds: 3,
gps: GpsSetting::Receiver,
enable_transmit: true,
enable_digipeating: true,
black_hole: MaybeBlackHole::None,
};
self.config.save_to_flash(flash);
write!(ushell, "\r\nOK\r\n").ok();
}
"" => { "" => {
write!(ushell, "\r\n").ok(); write!(ushell, "\r\n").ok();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment