Skip to content

Commit d8e1e43

Browse files
committed
H7 ST CUBE : remove unecessary #if 1 instead of USE_FULL_LL_DRIVER
Keep #define USE_FULL_LL_DRIVER and define this switch in target.json Signed-off-by: Vincent Veron <[email protected]>
1 parent 80b41f0 commit d8e1e43

24 files changed

+25
-24
lines changed

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_adc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
******************************************************************************
1818
*/
19-
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
19+
#if defined(USE_FULL_LL_DRIVER)
2020

2121
/* Includes ------------------------------------------------------------------*/
2222
#include "stm32h7xx_ll_adc.h"

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_bdma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
******************************************************************************
1818
*/
1919

20-
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
20+
#if defined(USE_FULL_LL_DRIVER)
2121

2222
/* Includes ------------------------------------------------------------------*/
2323
#include "stm32h7xx_ll_bdma.h"

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_comp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
******************************************************************************
1818
*/
19-
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
19+
#if defined(USE_FULL_LL_DRIVER)
2020

2121
/* Includes ------------------------------------------------------------------*/
2222
#include "stm32h7xx_ll_comp.h"

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_crc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
******************************************************************************
1818
*/
19-
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
19+
#if defined(USE_FULL_LL_DRIVER)
2020

2121
/* Includes ------------------------------------------------------------------*/
2222
#include "stm32h7xx_ll_crc.h"

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_dac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
******************************************************************************
1818
*/
1919

20-
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
20+
#if defined(USE_FULL_LL_DRIVER)
2121

2222
/* Includes ------------------------------------------------------------------*/
2323
#include "stm32h7xx_ll_dac.h"

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_dma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
******************************************************************************
1818
*/
19-
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
19+
#if defined(USE_FULL_LL_DRIVER)
2020

2121
/* Includes ------------------------------------------------------------------*/
2222
#include "stm32h7xx_ll_dma.h"

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_dma2d.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
******************************************************************************
1818
*/
19-
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
19+
#if defined(USE_FULL_LL_DRIVER)
2020

2121
/* Includes ------------------------------------------------------------------*/
2222
#include "stm32h7xx_ll_dma2d.h"

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_exti.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
******************************************************************************
1818
*/
19-
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
19+
#if defined(USE_FULL_LL_DRIVER)
2020

2121
/* Includes ------------------------------------------------------------------*/
2222
#include "stm32h7xx_ll_exti.h"

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_gpio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
******************************************************************************
1818
*/
1919

20-
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
20+
#if defined(USE_FULL_LL_DRIVER)
2121

2222
/* Includes ------------------------------------------------------------------*/
2323
#include "stm32h7xx_ll_gpio.h"

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_hrtim.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
******************************************************************************
1818
*/
19-
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
19+
#if defined(USE_FULL_LL_DRIVER)
2020

2121
/* Includes ------------------------------------------------------------------*/
2222
#include "stm32h7xx_ll_hrtim.h"

0 commit comments

Comments
 (0)