Skip to content

Commit

Permalink
fix macos build (closes #673)
Browse files Browse the repository at this point in the history
  • Loading branch information
john30 committed Sep 23, 2023
1 parent 0698906 commit d89b7cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tools/ebuspicloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d89b7cf

Please sign in to comment.