From cb7bef09f2e9d9b891737828a598ee5eec8ef118 Mon Sep 17 00:00:00 2001 From: Tobias Schulte Date: Fri, 19 Mar 2021 23:35:21 +0100 Subject: [PATCH] Adjust portPOINTER_SIZE_TYPE to correct size (#275) * Adjust portPOINTER_SIZE_TYPE to correct size portPOINTER_SIZE_TYPE wasn't yet set correctly to be 16 bit * Fixed FreeRTOS file header to comply with automatic checks Co-authored-by: Cobus van Eeden <35851496+cobusve@users.noreply.github.com> --- portable/GCC/ATMega323/portmacro.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/portable/GCC/ATMega323/portmacro.h b/portable/GCC/ATMega323/portmacro.h index 482fc8ea6..d02e39ea0 100644 --- a/portable/GCC/ATMega323/portmacro.h +++ b/portable/GCC/ATMega323/portmacro.h @@ -22,7 +22,6 @@ * https://www.FreeRTOS.org * https://github.com/FreeRTOS * - * 1 tab == 4 spaces! */ /* @@ -58,6 +57,8 @@ extern "C" { #define portSTACK_TYPE uint8_t #define portBASE_TYPE char +#define portPOINTER_SIZE_TYPE uint16_t + typedef portSTACK_TYPE StackType_t; typedef signed char BaseType_t; typedef unsigned char UBaseType_t;