From 2ccc0f5edd5f8e61bd0760f30b2d66f2d977b2bf Mon Sep 17 00:00:00 2001 From: Xavier ASUS Date: Sun, 18 Nov 2018 20:03:35 +0100 Subject: Added "const" qualifier to some functions. "cdrom:\ and ;1" are automatically inserted into file name, in order to save memory space. Some minor optimizations. --- Source/PltParser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/PltParser.c') diff --git a/Source/PltParser.c b/Source/PltParser.c index 6963683..56737fc 100644 --- a/Source/PltParser.c +++ b/Source/PltParser.c @@ -28,7 +28,7 @@ static void PltParserResetBuffers(TYPE_FLIGHT_DATA* ptrFlightData); -bool PltParserLoadFile(char* strPath, TYPE_FLIGHT_DATA* ptrFlightData) +bool PltParserLoadFile(const char* strPath, TYPE_FLIGHT_DATA* ptrFlightData) { enum { -- cgit v1.2.3