Commit 5d987bca authored by Damjan Marion's avatar Damjan Marion Committed by Øyvind Harboe
Browse files

buspirate: fix building on some OSes

parent 3c6af518
......@@ -55,6 +55,11 @@ static void buspirate_scan(bool ir_scan, enum scan_type type,
#define CMD_UART_SPEED 0x07
#define CMD_JTAG_SPEED 0x08
/* Not all OSes have this speed defined */
#if !defined(B1000000)
#define B1000000 0010010
#endif
enum {
MODE_HIZ = 0,
MODE_JTAG = 1, /* push-pull outputs */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment