Closed gipaq1950 closed 1 year ago
Please try inserting (void)pdev;
:
ICM_20948_Status_e ICM_20948_firmware_load(ICM_20948_Device_t *pdev)
{
#if defined(ICM_20948_USE_DMP)
return (inv_icm20948_firmware_load(pdev, dmp3_image, sizeof(dmp3_image), DMP_LOAD_START));
#else
(void)pdev;
return ICM_20948_Stat_DMPNotSupported;
#endif
}
colcon build --packages-select ros_qwiic_icm_20948 Starting >>> ros_qwiic_icm_20948 --- stderr: ros_qwiic_icm_20948
/home/jetson/dev_ws/src/ros_qwiic_icm_20948/src/SparkFun_ICM-20948_ArduinoLibrary/src/util/ICM_20948_C.c: In function ‘ICM_20948_firmware_load’: /home/jetson/dev_ws/src/ros_qwiic_icm_20948/src/SparkFun_ICM-20948_ArduinoLibrary/src/util/ICM_20948_C.c:1276:64: warning: unused parameter ‘pdev’ [-Wunused-parameter] ICM_20948_Status_e ICM_20948_firmware_load(ICM_20948_Device_t *pdev)