@@ -2081,6 +2081,8 @@ __weak void HAL_TIM_OnePulse_MspDeInit(TIM_HandleTypeDef *htim)
2081
2081
*/
2082
2082
HAL_StatusTypeDef HAL_TIM_OnePulse_Start (TIM_HandleTypeDef * htim , uint32_t OutputChannel )
2083
2083
{
2084
+ UNUSED (OutputChannel );
2085
+
2084
2086
/* Enable the Capture compare and the Input Capture channels
2085
2087
(in the OPM Mode the two possible channels that can be used are TIM_CHANNEL_1 and TIM_CHANNEL_2)
2086
2088
if TIM_CHANNEL_1 is used as output, the TIM_CHANNEL_2 will be used as input and
@@ -2114,6 +2116,8 @@ HAL_StatusTypeDef HAL_TIM_OnePulse_Start(TIM_HandleTypeDef *htim, uint32_t Outpu
2114
2116
*/
2115
2117
HAL_StatusTypeDef HAL_TIM_OnePulse_Stop (TIM_HandleTypeDef * htim , uint32_t OutputChannel )
2116
2118
{
2119
+ UNUSED (OutputChannel );
2120
+
2117
2121
/* Disable the Capture compare and the Input Capture channels
2118
2122
(in the OPM Mode the two possible channels that can be used are TIM_CHANNEL_1 and TIM_CHANNEL_2)
2119
2123
if TIM_CHANNEL_1 is used as output, the TIM_CHANNEL_2 will be used as input and
@@ -2147,6 +2151,8 @@ HAL_StatusTypeDef HAL_TIM_OnePulse_Stop(TIM_HandleTypeDef *htim, uint32_t Output
2147
2151
*/
2148
2152
HAL_StatusTypeDef HAL_TIM_OnePulse_Start_IT (TIM_HandleTypeDef * htim , uint32_t OutputChannel )
2149
2153
{
2154
+ UNUSED (OutputChannel );
2155
+
2150
2156
/* Enable the Capture compare and the Input Capture channels
2151
2157
(in the OPM Mode the two possible channels that can be used are TIM_CHANNEL_1 and TIM_CHANNEL_2)
2152
2158
if TIM_CHANNEL_1 is used as output, the TIM_CHANNEL_2 will be used as input and
@@ -2186,6 +2192,8 @@ HAL_StatusTypeDef HAL_TIM_OnePulse_Start_IT(TIM_HandleTypeDef *htim, uint32_t Ou
2186
2192
*/
2187
2193
HAL_StatusTypeDef HAL_TIM_OnePulse_Stop_IT (TIM_HandleTypeDef * htim , uint32_t OutputChannel )
2188
2194
{
2195
+ UNUSED (OutputChannel );
2196
+
2189
2197
/* Disable the TIM Capture/Compare 1 interrupt */
2190
2198
__HAL_TIM_DISABLE_IT (htim , TIM_IT_CC1 );
2191
2199
0 commit comments