__ALIGNED macro unified

This commit is contained in:
Bertrand Songis
2018-08-05 09:56:47 +02:00
parent d47c3cedb4
commit f60733b561
7 changed files with 19 additions and 25 deletions
-6
View File
@@ -32,12 +32,6 @@ extern "C" {
#define AUDIO_STACK_SIZE 500
#define BLUETOOTH_STACK_SIZE 500
#if defined(_MSC_VER)
#define _ALIGNED(x) __declspec(align(x))
#elif defined(__GNUC__)
#define _ALIGNED(x) __attribute__ ((aligned(x)))
#endif
uint16_t getStackAvailable(void * address, uint16_t size);
template<int SIZE>