__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
+1 -1
View File
@@ -148,7 +148,7 @@ union ModulePulsesData {
PpmPulsesData<pulse_duration_t> ppm;
CrossfirePulsesData crossfire;
} __ALIGNED;
} __ALIGNED(4);
/* The __ALIGNED keyword is required to align the struct inside the modulePulsesData below,
* which is also defined to be __DMA (which includes __ALIGNED) aligned.