Skip to content

Commit 587e5ab

Browse files
committed
get the cmsis macros the right way
1 parent 14637cd commit 587e5ab

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

shared-module/audiomixer/Mixer.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,9 @@
3333

3434
#include "py/runtime.h"
3535
#include "shared-module/audiocore/__init__.h"
36-
#include "shared-module/audiocore/RawSample.h"
3736

38-
#if (defined(__ARM_ARCH_7EM__) && (__ARM_ARCH_7EM__ == 1))
39-
#include "periph.h"
37+
#if __arm__
38+
#include "cmsis_compiler.h"
4039
#endif
4140

4241
void common_hal_audiomixer_mixer_construct(audiomixer_mixer_obj_t *self,

0 commit comments

Comments
 (0)