From 8be54a68582f0f861a9fa8d13b667e7ebc63f81c Mon Sep 17 00:00:00 2001 From: Morgan Allen Date: Sun, 29 Jul 2018 01:08:59 -0700 Subject: [PATCH] add newline on msg output --- test/lora32/main/main.c | 2 +- test/test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/lora32/main/main.c b/test/lora32/main/main.c index 20fbf27..41de52f 100644 --- a/test/lora32/main/main.c +++ b/test/lora32/main/main.c @@ -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) { diff --git a/test/test.js b/test/test.js index ab31f2a..203c71e 100644 --- a/test/test.js +++ b/test/test.js @@ -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);