Add short_name

This commit is contained in:
Ben Meadors
2023-02-09 19:32:32 -06:00
parent 83e309f3bf
commit 7100416142
3 changed files with 10 additions and 5 deletions

View File

@@ -603,6 +603,7 @@ void AdminModule::handleSetHamMode(const meshtastic_HamParameters &p)
{
// Set call sign and override lora limitations for licensed use
strncpy(owner.long_name, p.call_sign, sizeof(owner.long_name));
strncpy(owner.short_name, p.short_name, sizeof(owner.short_name));
owner.is_licensed = true;
config.lora.override_duty_cycle = true;
config.lora.tx_power = p.tx_power;