diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-03-28 19:34:50 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-03-29 00:49:06 +0100 |
commit | 6450cbbdca62fe5fa9e58b835b29b35bf4079286 (patch) | |
tree | c1f2a6185faf2a4f761c3af8575e46a744885306 /firmware/export/s5l8702.h | |
parent | 022dfe7ab3ae17987763a1838e274dd7be4482d6 (diff) | |
download | rockbox-6450cbbdca62fe5fa9e58b835b29b35bf4079286.tar.gz rockbox-6450cbbdca62fe5fa9e58b835b29b35bf4079286.zip |
headers: Don't blindly include <inttypes.h> in files used by ASM
Causes things to go boom with newer toolchains.
Change-Id: Ibd00edc9ea16aae8115b63ebce08ac920b0608a2
Diffstat (limited to 'firmware/export/s5l8702.h')
-rw-r--r-- | firmware/export/s5l8702.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/export/s5l8702.h b/firmware/export/s5l8702.h index f9bf99ed3b..4b22e25366 100644 --- a/firmware/export/s5l8702.h +++ b/firmware/export/s5l8702.h | |||
@@ -22,7 +22,9 @@ | |||
22 | #ifndef __S5L8702_H__ | 22 | #ifndef __S5L8702_H__ |
23 | #define __S5L8702_H__ | 23 | #define __S5L8702_H__ |
24 | 24 | ||
25 | #include <inttypes.h> | 25 | #ifndef ASM |
26 | #include <stdint.h> | ||
27 | #endif | ||
26 | 28 | ||
27 | #define REG8_PTR_T volatile uint8_t * | 29 | #define REG8_PTR_T volatile uint8_t * |
28 | #define REG16_PTR_T volatile uint16_t * | 30 | #define REG16_PTR_T volatile uint16_t * |