diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2016-06-01 09:52:02 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2016-06-01 09:54:13 -0400 |
commit | 45ba03efa3596dc12989ddc47cdd3c242a1869f2 (patch) | |
tree | 237b9c0a562240a4e26269eda57ffdb3081995bc /src/compiler.h | |
parent | f582a36e4df16d5709943f7df17a900c8bcc12ab (diff) | |
download | kutter-45ba03efa3596dc12989ddc47cdd3c242a1869f2.tar.gz kutter-45ba03efa3596dc12989ddc47cdd3c242a1869f2.tar.xz kutter-45ba03efa3596dc12989ddc47cdd3c242a1869f2.zip |
timer: Move union u32_u16_u from compiler.h to avr/timer.c
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/compiler.h')
-rw-r--r-- | src/compiler.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/compiler.h b/src/compiler.h index ba4b83d5..7085f864 100644 --- a/src/compiler.h +++ b/src/compiler.h @@ -39,11 +39,6 @@ (((x) + ((__divisor) / 2)) / (__divisor)); \ }) -union u32_u16_u { - struct { uint16_t lo, hi; }; - uint32_t val; -}; - static inline void writel(void *addr, uint32_t val) { *(volatile uint32_t *)addr = val; } |