From aa5b5bce6d6be4f760917b20dae819a494735745 Mon Sep 17 00:00:00 2001 From: Edvard Pettersen Date: Thu, 30 Aug 2018 17:17:09 +0200 Subject: [PATCH] Removed unecessary edits --- os/dev/button-hal.h | 1 - os/sys/cc.h | 6 ------ 2 files changed, 7 deletions(-) diff --git a/os/dev/button-hal.h b/os/dev/button-hal.h index 0be0c9d40..c1822ff8e 100644 --- a/os/dev/button-hal.h +++ b/os/dev/button-hal.h @@ -83,7 +83,6 @@ #include "dev/gpio-hal.h" #include "sys/clock.h" #include "sys/ctimer.h" -#include "sys/process.h" #include #include diff --git a/os/sys/cc.h b/os/sys/cc.h index cb9fb109d..6670eca46 100644 --- a/os/sys/cc.h +++ b/os/sys/cc.h @@ -103,8 +103,6 @@ #ifdef CC_CONF_ALIGN #define CC_ALIGN(n) CC_CONF_ALIGN(n) -#else -#define CC_ALIGN(n) #endif /* CC_CONF_INLINE */ /** @@ -147,10 +145,6 @@ #define ABS(n) (((n) < 0) ? -(n) : (n)) #endif -#ifndef CLAMP -#define CLAMP(v, vmin, vmax) (MAX(MIN(v, vmax), vmin)) -#endif - #define CC_CONCAT2(s1, s2) s1##s2 /**