hex -> newline

This commit is contained in:
Rene Hopf
2016-08-26 11:04:46 +02:00
parent 73ab3fac1e
commit 5723d790a4

View File

@@ -71,7 +71,7 @@ uint16_t USB_VCP_get_string(char *ptr)
*(ptr + akt_pos) = wert;
akt_pos++;
}
} while ((usb_rx_buf.len != 0) && (wert != 0x0A));
} while ((usb_rx_buf.len != 0) && (wert != '\n'));
// Stringende anhängen
*(ptr + akt_pos) = 0x00;