via: fix compile when vial is not enabled

vial-develop/k680t
Ilya Zhuravlev 2020-12-29 19:42:07 -05:00
parent 377af7bcfc
commit 276d4be495
1 changed files with 2 additions and 0 deletions

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);