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);