ATmegaxxxx - whitespace

This commit is contained in:
Phillip Stevens 2020-04-11 20:44:12 +10:00
parent 7a9398e511
commit bfa49e1ea0
2 changed files with 3 additions and 2 deletions

View file

@ -559,7 +559,6 @@ uint16_t usAddress;
* In order to do this properly, we would need to get a full 3-byte pointer to * In order to do this properly, we would need to get a full 3-byte pointer to
* pxCode. That requires a change to GCC. Not likely to happen any time soon. * pxCode. That requires a change to GCC. Not likely to happen any time soon.
*/ */
*pxTopOfStack = 0; *pxTopOfStack = 0;
pxTopOfStack--; pxTopOfStack--;
#endif #endif

View file

@ -43,6 +43,7 @@ extern "C" {
*/ */
/* Type definitions. */ /* Type definitions. */
#define portCHAR char #define portCHAR char
#define portFLOAT float #define portFLOAT float
#define portDOUBLE double #define portDOUBLE double
@ -63,6 +64,7 @@ typedef uint8_t UBaseType_t;
/*-----------------------------------------------------------*/ /*-----------------------------------------------------------*/
/* Critical section management. */ /* Critical section management. */
#define portENTER_CRITICAL() __asm__ __volatile__ ( \ #define portENTER_CRITICAL() __asm__ __volatile__ ( \
"in __tmp_reg__, __SREG__" "\n\t" \ "in __tmp_reg__, __SREG__" "\n\t" \
"cli" "\n\t" \ "cli" "\n\t" \
@ -118,7 +120,7 @@ typedef uint8_t UBaseType_t;
#if defined( portUSE_WDTO ) #if defined( portUSE_WDTO )
#define portTICK_PERIOD_MS ( (TickType_t) _BV( portUSE_WDTO + 4 ) ) #define portTICK_PERIOD_MS ( (TickType_t) _BV( portUSE_WDTO + 4 ) )
#else #else
#define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ ) #define portTICK_PERIOD_MS ( (TickType_t) 1000 / configTICK_RATE_HZ )
#endif #endif
#define portBYTE_ALIGNMENT 1 #define portBYTE_ALIGNMENT 1