diff options
| author | XaviDCR92 <xavi.dcr@gmail.com> | 2018-11-25 12:32:16 +0100 |
|---|---|---|
| committer | XaviDCR92 <xavi.dcr@gmail.com> | 2018-11-25 12:32:16 +0100 |
| commit | 135a1e93cb9b3a859c4269a94ababe33b3558f9a (patch) | |
| tree | d32c9b295895128b98f1af14e0c1d08a1da2b6f0 /Source/System.h | |
| parent | e4ab93f21e73dd86c41c754f4401f87f58c80afe (diff) | |
| download | airport-135a1e93cb9b3a859c4269a94ababe33b3558f9a.tar.gz | |
* LEVEL3.PLT was incorrectly using Windows CRLF end of line.
* When assigning a parking slot, busy parking slots cannot be selected. Some work TODO yet, though.
Diffstat (limited to 'Source/System.h')
| -rw-r--r-- | Source/System.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/System.h b/Source/System.h index 90c1969..33a5758 100644 --- a/Source/System.h +++ b/Source/System.h @@ -81,7 +81,7 @@ bool SystemContains_u8(const uint8_t value, const uint8_t* const buffer, const s bool SystemContains_u16(const uint16_t value, const uint16_t* const buffer, const size_t sz); // Compares two arrays of unsigned short type. -bool SystemArrayCompare(unsigned short* arr1, unsigned short* arr2, size_t sz); +bool SystemArrayCompare(const unsigned short* const arr1, const unsigned short* const arr2, const size_t sz); // Prints stack pointer address using Serial_printf() void SystemPrintStackPointerAddress(void); @@ -92,7 +92,7 @@ void SystemCheckStack(void); // Looks for string "str" inside a string array pointed to by "array". // Returns index inside string array on success, -1 if not found. -int32_t SystemIndexOfStringArray(char* str, char** array); +int32_t SystemIndexOfStringArray(const char* str, const char* const* array); // Function overload for uint16_t data type. int32_t SystemIndexOf_U16(const uint16_t value, const uint16_t* array, const uint32_t sz); |
