Fork of the official mbed C/C SDK provides the software platform and libraries to build your applications for RenBED.
Dependents: 1-RenBuggyTimed RenBED_RGB RenBED_RGB_PWM RenBED_RGB
Fork of mbed by
Diff: TARGET_NUCLEO_F746ZG/stm32f7xx_hal_spi.h
- Revision:
- 116:c0f6e94411f5
- Parent:
- 115:87f2f5183dfb
--- a/TARGET_NUCLEO_F746ZG/stm32f7xx_hal_spi.h Wed Mar 02 09:58:28 2016 +0100 +++ b/TARGET_NUCLEO_F746ZG/stm32f7xx_hal_spi.h Tue Mar 15 14:34:00 2016 +0000 @@ -2,8 +2,8 @@ ****************************************************************************** * @file stm32f7xx_hal_spi.h * @author MCD Application Team - * @version V1.0.1 - * @date 25-June-2015 + * @version V1.0.4 + * @date 09-December-2015 * @brief Header file of SPI HAL module. ****************************************************************************** * @attention @@ -470,7 +470,7 @@ */ #define __HAL_SPI_CLEAR_MODFFLAG(__HANDLE__) \ do{ \ - __IO uint32_t tmpreg; \ + __IO uint32_t tmpreg = 0x00; \ tmpreg = (__HANDLE__)->Instance->SR; \ (__HANDLE__)->Instance->CR1 &= (~SPI_CR1_SPE); \ UNUSED(tmpreg); \ @@ -484,7 +484,7 @@ */ #define __HAL_SPI_CLEAR_OVRFLAG(__HANDLE__) \ do{ \ - __IO uint32_t tmpreg; \ + __IO uint32_t tmpreg = 0x00; \ tmpreg = (__HANDLE__)->Instance->DR; \ tmpreg = (__HANDLE__)->Instance->SR; \ UNUSED(tmpreg); \ @@ -498,7 +498,7 @@ */ #define __HAL_SPI_CLEAR_FREFLAG(__HANDLE__) \ do{ \ - __IO uint32_t tmpreg; \ + __IO uint32_t tmpreg = 0x00; \ tmpreg = (__HANDLE__)->Instance->SR; \ UNUSED(tmpreg); \ } while(0)