Skip to content

Commit

Permalink
typo & formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
feilipu committed Jan 8, 2024
1 parent af9b0af commit c8706f4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -743,10 +743,10 @@ void vPortYieldFromTick( void )
* use ISR_NOBLOCK where there is an important timer running, that should preempt the scheduler.
*
*/
ISR( portSCHEDULER_ISR, ISR_NAKED ) __attribute__( ( hot, flatten ) );
ISR( portSCHEDULER_ISR, ISR_NAKED ) __attribute__ ( ( hot, flatten ) );

/* ISR(portSCHEDULER_ISR, ISR_NAKED ISR_NOBLOCK) __attribute__ ((hot, flatten));
*/
/* ISR( portSCHEDULER_ISR, ISR_NAKED ISR_NOBLOCK ) __attribute__ ( ( hot, flatten ) );
*/
ISR( portSCHEDULER_ISR )
{
vPortYieldFromTick();
Expand All @@ -761,10 +761,10 @@ void vPortYieldFromTick( void )
*
* use ISR_NOBLOCK where there is an important timer running, that should preempt the scheduler.
*/
ISR( portSCHEDULER_ISR ) __attribute__( ( hot, flatten ) );
ISR( portSCHEDULER_ISR ) __attribute__ ( ( hot, flatten ) );

/* ISR(portSCHEDULER_ISR, ISR_NOBLOCK) __attribute__ ((hot, flatten));
*/
/* ISR( portSCHEDULER_ISR, ISR_NOBLOCK ) __attribute__ ( ( hot, flatten ) );
*/
ISR( portSCHEDULER_ISR )
{
xTaskIncrementTick();
Expand Down
2 changes: 1 addition & 1 deletion src/portmacro.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS Kernel V1.0.1
* FreeRTOS Kernel V11.0.1
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down

0 comments on commit c8706f4

Please sign in to comment.