printing char doesnt work

for make monitor
This commit is contained in:
Morgan 'ARR\!' Allen 2019-06-30 14:52:28 -07:00
parent 53c3b3d6e5
commit fa17807144
2 changed files with 1 additions and 5 deletions

View File

@ -29,7 +29,7 @@ static void uart_event_task(void *pvParameters) {
size += event.size;
if(dtmp[size - 1] == '\n') {
if(dtmp[size - 1] == '\n' || dtmp[size - 1] == '\r') {
//uart_write_bytes(UART_NUM_0, (const char*) dtmp, size);
bzero(dtmp, RD_BUF_SIZE);

View File

@ -104,10 +104,6 @@ static void handle_lora_receive(uint8_t *data, uint8_t size) {
printf("%02X ", data[i + j]);
}
for(j = 0; j < 16; j++) {
printf("%s", (char*)data[i + j]);
}
printf("\n");
}
}