Fix parser tail pointer semantics and add further TODO

This commit is contained in:
2024-09-23 17:13:19 +02:00
parent 9aede09a2f
commit 47188c0bc8
2 changed files with 9 additions and 9 deletions

View File

@@ -34,7 +34,7 @@ static float rhum;
static int Init(void);
static void Update(void);
static void SetTarget(float t, float td);
static void GetSensorState(void);
static void FetchSensorValues(void);
static int Init(void)
{
@@ -156,8 +156,8 @@ static void Update(void)
}
}
// Poll sensor values
GetSensorState();
// Get sensor values
FetchSensorValues();
// Handle state
switch (state) {
@@ -198,7 +198,7 @@ static void SetTarget(float t, float td)
dewp_target = td;
}
static void GetSensorState(void)
static void FetchSensorValues(void)
{
word raw;
float t[6], rh[3], td[3];