Mbed for VNG board

Fork of mbed-src by mbed official

Revision:
387:643a59b3dbac
Parent:
382:ee426a420dbb
--- a/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_adc.c	Wed Nov 05 09:00:08 2014 +0000
+++ b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_adc.c	Wed Nov 05 14:30:08 2014 +0000
@@ -204,7 +204,7 @@
   uint32_t tickstart = 0x00;
   
   /* Check ADC handle */
-  if(hadc == NULL)
+  if(hadc == HAL_NULL)
   {
      return HAL_ERROR;
   }
@@ -407,7 +407,7 @@
   uint32_t tickstart = 0;
   
   /* Check ADC handle */
-  if(hadc == NULL)
+  if(hadc == HAL_NULL)
   {
      return HAL_ERROR;
   }