Philippe Teuwen 2019-08-20 23:21:18 +02:00
commit fdcc885aa9
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@
#if defined (_WIN32)
#define SERIAL_PORT_EXAMPLE_H "com3"
#elif defined(__APPLE__)
#define SERIAL_PORT_EXAMPLE_H "/dev/cu.usbmodem"
#define SERIAL_PORT_EXAMPLE_H "/dev/tty.usbmodemiceman1"
#else
#define SERIAL_PORT_EXAMPLE_H "/dev/ttyACM0"
#endif

View file

@ -21,7 +21,7 @@ function wait4proxmark_Linux {
function wait4proxmark_macOS {
echo >&2 "[=] Waiting for Proxmark3 to appear..."
while true; do
PM3=$(find /dev/pm3-* /dev/cu.usbmodem* 2>/dev/null | head -1)
PM3=$(find /dev/pm3-* /dev/tty.usbmodem* 2>/dev/null | head -1)
if [[ $PM3 != "" ]]; then
break
fi