From cc18d7edf8243c0acfbbbd3ecfc9148d0a4c0719 Mon Sep 17 00:00:00 2001 From: arighi Date: Thu, 30 Sep 2010 14:15:18 +0000 Subject: [PATCH] STM32: USB: remove duplicated macros git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4388 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/cortex-m3/drv/usb_stm32.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/bertos/cpu/cortex-m3/drv/usb_stm32.c b/bertos/cpu/cortex-m3/drv/usb_stm32.c index 924f86d2..a1a50b3b 100644 --- a/bertos/cpu/cortex-m3/drv/usb_stm32.c +++ b/bertos/cpu/cortex-m3/drv/usb_stm32.c @@ -58,13 +58,7 @@ #include "usb_stm32.h" -/* XXX: consider to move this to cfg/compiler.h */ -#define ALIGNED(x) __attribute__ ((__aligned__(x))) - /* XXX: consider to move this to cfg/macros.h */ -#define ALIGN_UP(value, align) (((value) & ((align) - 1)) ? \ - (((value) + ((align) - 1)) & ~((align) - 1)) : \ - (value)) /* XXX: redefine this to make it usable within C expression */ #define _MIN(a,b) (((a) < (b)) ? (a) : (b)) -- 2.25.1