Skip to content

Commit 02aeb43

Browse files
committed
adapt to usb serial changes
1 parent 284f7f2 commit 02aeb43

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

main/main.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,7 @@ void app_init_services(void) {
126126

127127
static int log_writefn(void *cookie, const char *data, int size) {
128128
jd_lstore_append_frag(0, JD_LSTORE_TYPE_LOG, data, size);
129-
jd_usb_write_serial(data, size);
130-
uart_log_write(data, size);
129+
jd_dmesg_write(data, size);
131130
return size;
132131
}
133132

0 commit comments

Comments
 (0)