Skip to content

Commit

Permalink
Rename vPortGenerateSimulatedInterruptFromWindowsThread
Browse files Browse the repository at this point in the history
  • Loading branch information
chinglee-iot committed Apr 29, 2024
1 parent c570ba9 commit a04de0b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions portable/MSVC-MingW/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ static DWORD WINAPI prvSimulatedPeripheralTimer( LPVOID lpParameter )
Sleep( portTICK_PERIOD_MS );
}

vPortGenerateSimulatedInterruptFromNative( portINTERRUPT_TICK );
vPortGenerateSimulatedInterruptFromWindowsThread( portINTERRUPT_TICK );
}

return 0;
Expand Down Expand Up @@ -615,7 +615,7 @@ void vPortGenerateSimulatedInterrupt( uint32_t ulInterruptNumber )
}
/*-----------------------------------------------------------*/

void vPortGenerateSimulatedInterruptFromNative( uint32_t ulInterruptNumber )
void vPortGenerateSimulatedInterruptFromWindowsThread( uint32_t ulInterruptNumber )
{
if( xPortRunning == pdTRUE )
{
Expand Down
4 changes: 2 additions & 2 deletions portable/MSVC-MingW/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,9 @@ void vPortGenerateSimulatedInterrupt( uint32_t ulInterruptNumber );
* Raise a simulated interrupt represented by the bit mask in ulInterruptMask.
* Each bit can be used to represent an individual interrupt - with the first
* two bits being used for the Yield and Tick interrupts respectively. This function
* can be called in a native windows thread.
* can be called in a windows thread.
*/
void vPortGenerateSimulatedInterruptFromNative( uint32_t ulInterruptNumber );
void vPortGenerateSimulatedInterruptFromWindowsThread( uint32_t ulInterruptNumber );

/*
* Install an interrupt handler to be called by the simulated interrupt handler
Expand Down

0 comments on commit a04de0b

Please sign in to comment.