Browse Source

Change from tty.usb* to cu.usb* for more consistent behavior on OSX

pull/1064/head
Jonathan Giles 2 years ago
committed by Piotr Esden-Tempski
parent
commit
9f4d50a018
  1. 2
      src/platforms/pc/serial_unix.c

2
src/platforms/pc/serial_unix.c

@ -79,7 +79,7 @@ int serial_open(BMP_CL_OPTIONS_t *cl_opts, char *serial)
DEBUG_WARN("No serial device found\n");
return -1;
} else {
sprintf(name, "/dev/tty.usbmodem%s1", serial);
sprintf(name, "/dev/cu.usbmodem%s1", serial);
}
} else {
strncpy(name, cl_opts->opt_device, sizeof(name) - 1);

Loading…
Cancel
Save