From 47407759a480ed9d3bafe5ea440d95b2e4bff8e5 Mon Sep 17 00:00:00 2001 From: jeromecoutant Date: Tue, 9 Jun 2020 11:04:23 +0200 Subject: [PATCH] STM: move us_ticker_defines.h include --- targets/TARGET_STM/device.h | 2 -- targets/TARGET_STM/hal_tick_overrides.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/targets/TARGET_STM/device.h b/targets/TARGET_STM/device.h index 27bb8b4042..643ed21d43 100644 --- a/targets/TARGET_STM/device.h +++ b/targets/TARGET_STM/device.h @@ -37,6 +37,4 @@ #include "objects.h" -#include "us_ticker_defines.h" - #endif diff --git a/targets/TARGET_STM/hal_tick_overrides.c b/targets/TARGET_STM/hal_tick_overrides.c index 5e6347b5a8..867450b0be 100644 --- a/targets/TARGET_STM/hal_tick_overrides.c +++ b/targets/TARGET_STM/hal_tick_overrides.c @@ -17,7 +17,7 @@ #if DEVICE_USTICKER #include "hal/us_ticker_api.h" -#include "us_ticker_data.h" +#include "us_ticker_defines.h" // This variable is set to 1 at the of mbed_sdk_init function. // The ticker_read_us function must not be called until the mbed_sdk_init is terminated.