Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added gitignore file and fixed compilation due to multiple defined sy… #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
*.o
*.user
*.pro
*.a
*.so


Makefile
config.h
config.log
config.status
2 changes: 2 additions & 0 deletions src/mpsse.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
#include "support.h"
#include "config.h"

unsigned char fast_rw_buf[SPI_RW_SIZE + CMD_SIZE];

/* List of known FT2232-based devices */
struct vid_pid supported_devices[] = {
{ 0x0403, 0x6010, "FT2232 Future Technology Devices International, Ltd" },
Expand Down
2 changes: 1 addition & 1 deletion src/mpsse.h
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ swig_string_data Transfer(struct mpsse_context *mpsse, char *data, int size);
char *Read(struct mpsse_context *mpsse, int size);
char *Transfer(struct mpsse_context *mpsse, char *data, int size);

unsigned char fast_rw_buf[SPI_RW_SIZE + CMD_SIZE];
extern unsigned char fast_rw_buf[SPI_RW_SIZE + CMD_SIZE];
int FastWrite(struct mpsse_context *mpsse, char *data, int size);
int FastRead(struct mpsse_context *mpsse, char *data, int size);
int FastTransfer(struct mpsse_context *mpsse, char *wdata, char *rdata, int size);
Expand Down