diff --git a/portable/MSVC-MingW/port.c b/portable/MSVC-MingW/port.c index cdec17e86..f78cc5d8d 100644 --- a/portable/MSVC-MingW/port.c +++ b/portable/MSVC-MingW/port.c @@ -177,7 +177,7 @@ static DWORD WINAPI prvSimulatedPeripheralTimer( LPVOID lpParameter ) Sleep( portTICK_PERIOD_MS ); } - vPortGenerateSimulatedInterruptFromNative( portINTERRUPT_TICK ); + vPortGenerateSimulatedInterruptFromWindowsThread( portINTERRUPT_TICK ); } return 0; @@ -615,7 +615,7 @@ void vPortGenerateSimulatedInterrupt( uint32_t ulInterruptNumber ) } /*-----------------------------------------------------------*/ -void vPortGenerateSimulatedInterruptFromNative( uint32_t ulInterruptNumber ) +void vPortGenerateSimulatedInterruptFromWindowsThread( uint32_t ulInterruptNumber ) { if( xPortRunning == pdTRUE ) { diff --git a/portable/MSVC-MingW/portmacro.h b/portable/MSVC-MingW/portmacro.h index 934074269..d3db1eb62 100644 --- a/portable/MSVC-MingW/portmacro.h +++ b/portable/MSVC-MingW/portmacro.h @@ -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