aboutsummaryrefslogtreecommitdiffstats
path: root/boards/base/Altera-MAX10-Neek
diff options
context:
space:
mode:
Diffstat (limited to 'boards/base/Altera-MAX10-Neek')
-rw-r--r--boards/base/Altera-MAX10-Neek/gmouse_lld_FT5316_board.h4
1 files changed, 2 insertions, 2 deletions
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)