removes attribute packed as it disables word access generation by gcc

This commit is contained in:
2024-08-11 17:29:43 +02:00
parent 46d55f353e
commit 5d78f839a5
8 changed files with 19 additions and 19 deletions

View File

@@ -12,7 +12,7 @@
#include <stdint.h>
typedef struct __attribute((__packed__)) {
typedef struct {
volatile uint32_t PRESCALER;
volatile uint32_t T0_CTRL;
volatile uint32_t T0_OVERFLOW;
@@ -138,4 +138,4 @@ inline uint32_t get_timercounter_t1_value(volatile timercounter_t* reg){
return (reg->T1_VALUE >> 0) & 0xffffffff;
}
#endif /* _BSP_TIMERCOUNTER_H */
#endif /* _BSP_TIMERCOUNTER_H */