Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-stm32l0/l1-src by
Diff: targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_tim.c
- Revision:
- 387:643a59b3dbac
- Parent:
- 382:ee426a420dbb
- Child:
- 489:119543c9f674
--- a/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_tim.c Wed Nov 05 09:00:08 2014 +0000
+++ b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_tim.c Wed Nov 05 14:30:08 2014 +0000
@@ -185,7 +185,7 @@
HAL_StatusTypeDef HAL_TIM_Base_Init(TIM_HandleTypeDef *htim)
{
/* Check the TIM handle allocation */
- if(htim == NULL)
+ if(htim == HAL_NULL)
{
return HAL_ERROR;
}
@@ -222,7 +222,7 @@
HAL_StatusTypeDef HAL_TIM_OC_Init(TIM_HandleTypeDef* htim)
{
/* Check the TIM handle allocation */
- if(htim == NULL)
+ if(htim == HAL_NULL)
{
return HAL_ERROR;
}
@@ -258,7 +258,7 @@
HAL_StatusTypeDef HAL_TIM_PWM_Init(TIM_HandleTypeDef *htim)
{
/* Check the TIM handle allocation */
- if(htim == NULL)
+ if(htim == HAL_NULL)
{
return HAL_ERROR;
}
@@ -295,7 +295,7 @@
HAL_StatusTypeDef HAL_TIM_IC_Init(TIM_HandleTypeDef *htim)
{
/* Check the TIM handle allocation */
- if(htim == NULL)
+ if(htim == HAL_NULL)
{
return HAL_ERROR;
}
@@ -336,7 +336,7 @@
HAL_StatusTypeDef HAL_TIM_OnePulse_Init(TIM_HandleTypeDef *htim, uint32_t OnePulseMode)
{
/* Check the TIM handle allocation */
- if(htim == NULL)
+ if(htim == HAL_NULL)
{
return HAL_ERROR;
}
@@ -384,7 +384,7 @@
uint32_t tmpccer = 0;
/* Check the TIM handle allocation */
- if(htim == NULL)
+ if(htim == HAL_NULL)
{
return HAL_ERROR;
}
