01_SDK/modules/hal/panchip/panplat/pan1070/bsp/peripheral/src/pan_hal_pwm.c
@@ -55,13 +55,13 @@ uint32_t clockBit = ClockBitGet(chId); if (clockBit == 0) { return -PAN_HAL_INVALID_PARAMS; return -HAL_INVALID_PARAMS; } uint8_t handle = SearchFreeHandle(); if (handle == PWM_MAX_WORKING_NUMBER) { return -PAN_HAL_NO_HARDWARE_SOURCE; return -HAL_NO_HARDWARE_SOURCE; } /* store inforamtion to device configurations, and it will be used by handle */ deviceConfigures[handle].id = chId;