Reduce RXBUF size to match parser and space out log messages

This commit is contained in:
2024-09-23 01:41:13 +02:00
parent 9458db03f7
commit 622bf047f8
3 changed files with 7 additions and 29 deletions

View File

@@ -6,6 +6,7 @@
#include <avr/interrupt.h>
// TODO: Check parser and circular buffer for edge cases.
// TODO: Implement command parser timeout for large input.
// TODO: Config header for chip specifics like EEPROM size.
// TODO: Check thermistor conversion results /w thermometer.
@@ -174,6 +175,7 @@ static void SetTarget(float t, float td)
{
mem_block_t mem;
Print("\r\n");
Info("=======================================");
Info("Setting temperature target to '%.2fC'.", t);
Info("Setting dewpoint target to '%.2fC'.", td);
@@ -201,6 +203,7 @@ static void GetSensorState(void)
word raw;
float t[6], rh[3], dp[3];
Print("\r\n");
Info("Reading sensor values...");
I2C_SetChannel(AHT01);