add newline on msg output

This commit is contained in:
Morgan Allen 2018-07-29 01:08:59 -07:00
parent f15732251f
commit 8be54a6858
2 changed files with 2 additions and 2 deletions

View file

@ -97,7 +97,7 @@ static void uart_event_task(void *pvParameters) {
}
static void handle_lora_receive(uint8_t *data, uint8_t size) {
printf("msg: %s", data);
printf("msg: %s\n", data);
}
void loop(void *p) {

View file

@ -200,7 +200,7 @@ async.series([
buf += c.toString();
if(buf.indexOf(msg) !== -1) {
t.pass("got message " + i);
t.pass((i % 2 === 0 ? ">" : "<") + " got message " + i);
read.removeListener("data", onData);