@@ -342,7 +342,7 @@ bool IRQManager::addPeripheral(Peripheral_t p, void *cfg) {
342342 if (p == IRQ_USB && cfg != NULL ) {
343343 USBIrqCfg_t *irqcfg = (USBIrqCfg_t *)cfg;
344344
345- if (irqcfg->first_irq_number != FSP_INVALID_VECTOR) {
345+ if (irqcfg->first_irq_number != ( uint32_t ) FSP_INVALID_VECTOR) {
346346 // already configured, return
347347 goto end_config;
348348 }
@@ -405,7 +405,7 @@ bool IRQManager::addPeripheral(Peripheral_t p, void *cfg) {
405405 else if (p == IRQ_USB_HS && cfg != NULL ) {
406406 USBIrqCfg_t *irqcfg = (USBIrqCfg_t *)cfg;
407407
408- if (irqcfg->first_irq_number != FSP_INVALID_VECTOR) {
408+ if (irqcfg->first_irq_number != ( uint32_t ) FSP_INVALID_VECTOR) {
409409 // already configured, return
410410 goto end_config;
411411 }
@@ -1659,7 +1659,7 @@ void IRQManager::set_can_tx_link_event(int li, int ch)
16591659#endif
16601660}
16611661
1662- void IRQManager::set_canfd_error_link_event (int li, int ch)
1662+ void IRQManager::set_canfd_error_link_event (__attribute__((unused)) int li, __attribute__((unused)) int ch)
16631663{
16641664 if (0 ) {}
16651665#ifdef ELC_EVENT_CAN0_CHERR
@@ -1674,7 +1674,7 @@ void IRQManager::set_canfd_error_link_event(int li, int ch)
16741674#endif
16751675}
16761676
1677- void IRQManager::set_canfd_rx_link_event (int li, int ch)
1677+ void IRQManager::set_canfd_rx_link_event (__attribute__((unused)) int li, __attribute__((unused)) int ch)
16781678{
16791679 if (0 ) {}
16801680#ifdef ELC_EVENT_CAN0_COMFRX
@@ -1689,7 +1689,7 @@ void IRQManager::set_canfd_rx_link_event(int li, int ch)
16891689#endif
16901690}
16911691
1692- void IRQManager::set_canfd_tx_link_event (int li, int ch)
1692+ void IRQManager::set_canfd_tx_link_event (__attribute__((unused)) int li, __attribute__((unused)) int ch)
16931693{
16941694 if (0 ) {}
16951695#ifdef ELC_EVENT_CAN0_TX
0 commit comments