1.1 --- a/stage2/nanonote_gpm940b0.h Wed Jun 28 00:20:14 2017 +0200
1.2 +++ b/stage2/nanonote_gpm940b0.h Wed Jun 28 01:04:22 2017 +0200
1.3 @@ -2,7 +2,7 @@
1.4 * Ben NanoNote panel-specific definitions
1.5 *
1.6 * Copyright (C) Xiangfu Liu <xiangfu@sharism.cc>
1.7 - * Copyright (C) 2015, 2016 Paul Boddie <paul@boddie.org.uk>
1.8 + * Copyright (C) 2015, 2016, 2017 Paul Boddie <paul@boddie.org.uk>
1.9 *
1.10 * This program is free software; you can redistribute it and/or
1.11 * modify it under the terms of the GNU General Public License as
1.12 @@ -26,10 +26,10 @@
1.13 #include "board.h"
1.14 #include "nanonote.h"
1.15
1.16 -static inline void __spi_write_reg1(u8 reg, u8 val)
1.17 +static inline void __spi_write_reg1(uint8_t reg, uint8_t val)
1.18 {
1.19 - u8 no, a=reg, b=val;
1.20 - u16 value;
1.21 + uint8_t no, a=reg, b=val;
1.22 + uint16_t value;
1.23
1.24 __gpio_set_pin(SPEN);
1.25 __gpio_set_pin(SPCK);