silence unused parameter warnings on weak fallback ftcan_msg_received_cb
This commit is contained in:
parent
0b91166780
commit
4e3bb026f8
@ -223,7 +223,11 @@ void HAL_FDCAN_RxFifo0Callback(FDCAN_HandleTypeDef *handle,
|
||||
#endif
|
||||
|
||||
__weak void ftcan_msg_received_cb(uint16_t id, size_t datalen,
|
||||
const uint8_t *data) {}
|
||||
const uint8_t *data) {
|
||||
(void)id;
|
||||
(void)datalen;
|
||||
(void)data;
|
||||
}
|
||||
|
||||
uint64_t ftcan_unmarshal_unsigned(const uint8_t **data_ptr, size_t num_bytes) {
|
||||
if (num_bytes > 8) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user