Skip to content

Commit 334da74

Browse files
committed
I2C: Trivial newline fix for messages
1 parent c09fcb6 commit 334da74

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

i2c.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ void i2c_task(void *dummy)
7676
// See if we are at the top of the next second
7777
if (memcmp(&message_anim.ds3231, &old_ds3231, sizeof(ds3231_t)) != 0) {
7878
if (xQueueSend(animate_queue, &message_anim, 10) != pdTRUE) {
79-
printf("Could not send clock data; dropping");
79+
printf("Could not send clock data; dropping\n");
8080
}
8181

8282
if (climate_count == CLIMATE_SEND_INTERVAL) {
@@ -98,14 +98,14 @@ void i2c_task(void *dummy)
9898
message_mqtt.climate.humidity = get_humidity();
9999

100100
if (xQueueSend(mqtt_queue, &message_mqtt, 10) != pdTRUE) {
101-
printf("Could not send climate data; dropping");
101+
printf("Could not send climate data; dropping\n");
102102
}
103103
}
104104
#else
105105
message_mqtt.climate.temperature = get_temperature();
106106

107107
if (xQueueSend(mqtt_queue, &message_mqtt, 10) != pdTRUE) {
108-
printf("Could not send climate data; dropping");
108+
printf("Could not send climate data; dropping\n");
109109
}
110110

111111
#endif

0 commit comments

Comments
 (0)