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.
Dependents: Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more
Diff: targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma2d.c
- Revision:
- 384:ef87175507f1
- Parent:
- 380:510f0c3515e3
- Child:
- 532:fe11edbda85c
diff -r 0564d9840d0d -r ef87175507f1 targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma2d.c
--- a/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma2d.c Mon Nov 03 11:00:07 2014 +0000
+++ b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma2d.c Tue Nov 04 09:30:07 2014 +0000
@@ -171,7 +171,7 @@
uint32_t tmp = 0;
/* Check the DMA2D peripheral state */
- if(hdma2d == NULL)
+ if(hdma2d == HAL_NULL)
{
return HAL_ERROR;
}
@@ -250,7 +250,7 @@
HAL_StatusTypeDef HAL_DMA2D_DeInit(DMA2D_HandleTypeDef *hdma2d)
{
/* Check the DMA2D peripheral state */
- if(hdma2d == NULL)
+ if(hdma2d == HAL_NULL)
{
return HAL_ERROR;
}
@@ -721,7 +721,7 @@
/* Process Unlocked */
__HAL_UNLOCK(hdma2d);
- if(hdma2d->XferErrorCallback != NULL)
+ if(hdma2d->XferErrorCallback != HAL_NULL)
{
/* Transfer error Callback */
hdma2d->XferErrorCallback(hdma2d);
@@ -748,7 +748,7 @@
/* Process Unlocked */
__HAL_UNLOCK(hdma2d);
- if(hdma2d->XferErrorCallback != NULL)
+ if(hdma2d->XferErrorCallback != HAL_NULL)
{
/* Transfer error Callback */
hdma2d->XferErrorCallback(hdma2d);
@@ -775,7 +775,7 @@
/* Process Unlocked */
__HAL_UNLOCK(hdma2d);
- if(hdma2d->XferCpltCallback != NULL)
+ if(hdma2d->XferCpltCallback != HAL_NULL)
{
/* Transfer complete Callback */
hdma2d->XferCpltCallback(hdma2d);

