Reduce RXBUF size to match parser and space out log messages
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user