Protocol adjustment + exposing settings for DFT

This commit is contained in:
Jan Käberich 2020-11-07 13:22:10 +01:00
parent ce475fa042
commit a2389fca13
19 changed files with 314 additions and 205 deletions

View file

@ -155,10 +155,10 @@ void App_Start() {
SA::Setup(recv_packet.spectrumSettings);
Communication::SendWithoutPayload(Protocol::PacketType::Ack);
break;
case Protocol::PacketType::RequestDeviceLimits:
case Protocol::PacketType::RequestDeviceInfo:
Protocol::PacketInfo p;
p.type = Protocol::PacketType::DeviceLimits;
p.limits = HW::Limits;
p.type = Protocol::PacketType::DeviceInfo;
HW::fillDeviceInfo(&p.info);
Communication::Send(p);
break;
#ifdef HAS_FLASH