fix macos build (closes #673)
This commit is contained in:
@@ -397,6 +397,10 @@ typedef union
|
||||
#define FRAME_HEADER_LEN 9
|
||||
#define FRAME_MAX_LEN (FRAME_HEADER_LEN+2*WRITE_FLASH_BLOCKSIZE)
|
||||
#define BAUDRATE_LOW B115200
|
||||
#if !defined(B921600) && defined(__APPLE__)
|
||||
// MAC OS workaround
|
||||
# define B921600 921600
|
||||
#endif
|
||||
#define BAUDRATE_HIGH B921600
|
||||
#define WAIT_BYTE_TRANSFERRED_MILLIS 200
|
||||
#define WAIT_BITRATE_DETECTION_MICROS 100
|
||||
|
||||
Reference in New Issue
Block a user