summaryrefslogtreecommitdiff
path: root/firmware/export/s5l8700.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-03-28 19:34:50 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-03-29 00:49:06 +0100
commit6450cbbdca62fe5fa9e58b835b29b35bf4079286 (patch)
treec1f2a6185faf2a4f761c3af8575e46a744885306 /firmware/export/s5l8700.h
parent022dfe7ab3ae17987763a1838e274dd7be4482d6 (diff)
downloadrockbox-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/s5l8700.h')
-rw-r--r--firmware/export/s5l8700.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/export/s5l8700.h b/firmware/export/s5l8700.h
index b559992c6a..945cf932cd 100644
--- a/firmware/export/s5l8700.h
+++ b/firmware/export/s5l8700.h
@@ -19,7 +19,9 @@
19 * 19 *
20 ****************************************************************************/ 20 ****************************************************************************/
21 21
22#include <inttypes.h> 22#ifndef ASM
23#include <stdint.h>
24#endif
23 25
24#define REG8_PTR_T volatile uint8_t * 26#define REG8_PTR_T volatile uint8_t *
25#define REG16_PTR_T volatile uint16_t * 27#define REG16_PTR_T volatile uint16_t *