From 7c5a6c928fa7129cf754c9c73c5c7ae39372ba9d Mon Sep 17 00:00:00 2001 From: inmarket Date: Sat, 3 Nov 2018 10:51:23 +1000 Subject: For all source files update integer types to the new gI8 etc type names --- boards/base/RaspberryPi/FreeRTOS/uart.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'boards/base/RaspberryPi/FreeRTOS/uart.c') diff --git a/boards/base/RaspberryPi/FreeRTOS/uart.c b/boards/base/RaspberryPi/FreeRTOS/uart.c index 92f837e7..ef040fca 100644 --- a/boards/base/RaspberryPi/FreeRTOS/uart.c +++ b/boards/base/RaspberryPi/FreeRTOS/uart.c @@ -46,12 +46,12 @@ enum { /* * delay function - * int32_t delay: number of cycles to delay + * gI32 delay: number of cycles to delay * * This just loops times in a way that the compiler * wont optimize away. */ -static void delay(int32_t count) { +static void delay(gI32 count) { asm volatile("__delay_%=: subs %[count], %[count], #1; bne __delay_%=\n" : : [count]"r"(count) : "cc"); } @@ -102,9 +102,9 @@ void uart_init() { /* * Transmit a byte via UART0. - * uint8_t Byte: byte to send. + * gU8 Byte: byte to send. */ -void uart_putc(uint8_t byte) { +void uart_putc(gU8 byte) { // wait for UART to become ready to transmit while (1) { if (!(mmio_read(UART0_FR) & (1 << 5))) { -- cgit v1.2.3