From 41271d632b74f5cf47c30d3b699eb6b2786f2136 Mon Sep 17 00:00:00 2001 From: inmarket Date: Sat, 23 Jun 2018 13:02:07 +1000 Subject: Added new type definitions - moving towards V3.0 --- boards/base/Altera-MAX10-Neek/gmouse_lld_FT5316_board.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'boards/base/Altera-MAX10-Neek') diff --git a/boards/base/Altera-MAX10-Neek/gmouse_lld_FT5316_board.h b/boards/base/Altera-MAX10-Neek/gmouse_lld_FT5316_board.h index c0d9354b..2c3288d8 100644 --- a/boards/base/Altera-MAX10-Neek/gmouse_lld_FT5316_board.h +++ b/boards/base/Altera-MAX10-Neek/gmouse_lld_FT5316_board.h @@ -66,14 +66,14 @@ static unsigned int device_read_16(unsigned char device_address, unsigned char s return (0xFFFF & ((rdata_h << 8) | rdata_l)); } -static bool_t init_board(GMouse* m, unsigned instance) +static gBool init_board(GMouse* m, unsigned instance) { (void)m; (void)instance; I2C_init(I2C_OPENCORES_0_BASE, 50000000, 400000); - return TRUE; + return gTrue; } static void write_reg(GMouse* m, uint8_t reg, uint8_t val) -- cgit v1.2.3