Rename vPortGenerateSimulatedInterruptFromWindowsThread

This commit is contained in:
Ching-Hsin Lee 2024-04-29 14:55:18 +08:00
parent c570ba9095
commit a04de0b569
2 changed files with 4 additions and 4 deletions

View file

@ -177,7 +177,7 @@ static DWORD WINAPI prvSimulatedPeripheralTimer( LPVOID lpParameter )
Sleep( portTICK_PERIOD_MS ); Sleep( portTICK_PERIOD_MS );
} }
vPortGenerateSimulatedInterruptFromNative( portINTERRUPT_TICK ); vPortGenerateSimulatedInterruptFromWindowsThread( portINTERRUPT_TICK );
} }
return 0; return 0;
@ -615,7 +615,7 @@ void vPortGenerateSimulatedInterrupt( uint32_t ulInterruptNumber )
} }
/*-----------------------------------------------------------*/ /*-----------------------------------------------------------*/
void vPortGenerateSimulatedInterruptFromNative( uint32_t ulInterruptNumber ) void vPortGenerateSimulatedInterruptFromWindowsThread( uint32_t ulInterruptNumber )
{ {
if( xPortRunning == pdTRUE ) if( xPortRunning == pdTRUE )
{ {

View file

@ -199,9 +199,9 @@ void vPortGenerateSimulatedInterrupt( uint32_t ulInterruptNumber );
* Raise a simulated interrupt represented by the bit mask in ulInterruptMask. * Raise a simulated interrupt represented by the bit mask in ulInterruptMask.
* Each bit can be used to represent an individual interrupt - with the first * 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 * 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 * Install an interrupt handler to be called by the simulated interrupt handler