From 3847477b2981c46a43c43f967c205f8385ecea3c Mon Sep 17 00:00:00 2001 From: Nabil Elqatib Date: Thu, 3 Aug 2017 16:26:22 +0200 Subject: [PATCH] Remove analogin_s definition from objects.h The structure being already defined in targets/TARGET_STM/TARGET_STM32L4/common_objects.h#L119, there is a redefinition conflict. --- .../TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/objects.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/objects.h b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/objects.h index 0b8ee2687a..a7e928ec3a 100644 --- a/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/objects.h +++ b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/objects.h @@ -54,12 +54,6 @@ struct port_s { __IO uint32_t *reg_out; }; -struct analogin_s { - ADCName adc; - PinName pin; - uint32_t channel; -}; - struct can_s { CANName can; int index;