Skip to content

Commit

Permalink
Merge pull request #3 from bartslinger/master
Browse files Browse the repository at this point in the history
Fix compilation errors/warnings and add STM32F0
  • Loading branch information
bogdanm authored Feb 9, 2017
2 parents 1dfd3d6 + 18876d3 commit 8295f4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <string.h>
#include <errno.h>
#include <limits.h>
#include <stdint.h>

static FILE *fp;
static u32 fpsize;
Expand All @@ -22,6 +23,7 @@ static const uint16_t SUPPORTED_CHIP_IDS[] =
0x0410,
0x0414,
0x0413,
0x0440,
0
};

Expand Down
2 changes: 2 additions & 0 deletions serial_posix.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ int ser_setup( ser_handler id, u32 baud, int databits, int parity, int stopbits

// And set blocking mode by default
fcntl( id, F_SETFL, 0 );

return 0;
}

// Read up to the specified number of bytes, return bytes actually read
Expand Down

0 comments on commit 8295f4d

Please sign in to comment.