via: fix compile when vial is not enabled

This commit is contained in:
Ilya Zhuravlev 2020-12-29 19:42:07 -05:00
parent 377af7bcfc
commit 276d4be495

View file

@ -438,7 +438,9 @@ void raw_hid_receive(uint8_t *data, uint8_t length) {
break;
}
}
#ifdef VIAL_ENABLE
skip:
#endif
// Return the same buffer, optionally with values changed
// (i.e. returning state to the host, or the unhandled state).
raw_hid_send(data, length);