HAL layer for VNA functionality to use similar firmware on both hardware revisions

This commit is contained in:
Jan Käberich 2020-09-11 23:08:30 +02:00
parent f4a6b24a8e
commit 6960498fcb
12 changed files with 164 additions and 87 deletions

View file

@ -63,3 +63,8 @@ void communication_usb_input(const uint8_t *buf, uint16_t len) {
Communication::Input(buf, len);
}
bool Communication::SendWithoutPayload(Protocol::PacketType type) {
Protocol::PacketInfo p;
p.type = type;
return Send(p);
}