1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-07-28 09:53:45 +02:00
This commit is contained in:
Asbelos
2023-11-09 19:27:52 +00:00
parent 44351b83ae
commit 26cf28dff7
5 changed files with 34 additions and 9 deletions

View File

@@ -121,7 +121,9 @@ class LookList {
public:
LookList(int16_t size);
void add(int16_t lookup, int16_t result);
int16_t find(int16_t value);
int16_t find(int16_t value); // finds result value
int16_t findPosition(int16_t value); // finds index
int16_t size();
private:
int16_t m_size;
int16_t m_loaded;
@@ -217,6 +219,8 @@ private:
static const int countLCCLookup;
static int onLCCLookup[];
static const byte compileFeatures;
static void manageRoute(uint16_t id, byte state);
static byte * routeStateArray;
// Local variables - exist for each instance/task
RMFT2 *next; // loop chain