From a04de0b56977fa7eefb879af0874f5db679f62ee Mon Sep 17 00:00:00 2001 From: Ching-Hsin Lee Date: Mon, 29 Apr 2024 14:55:18 +0800 Subject: [PATCH] Rename vPortGenerateSimulatedInterruptFromWindowsThread --- portable/MSVC-MingW/port.c | 4 ++-- portable/MSVC-MingW/portmacro.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/portable/MSVC-MingW/port.c b/portable/MSVC-MingW/port.c index cdec17e864..f78cc5d8d6 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 9340742698..d3db1eb624 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