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

Change firmware_data type to fix Arduino compiler error #13

Open
wants to merge 3 commits 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
2 changes: 1 addition & 1 deletion Arduino Example Sketches/ADNS9800_SROM_A4.ino
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
const unsigned short firmware_length = 3070;


prog_uchar firmware_data[] PROGMEM = {
const char firmware_data[] PROGMEM = {
0x03, 0xa4, 0x6e, 0x16, 0x6d, 0x89, 0x3e, 0xfe, 0x5f, 0x1c, 0xb8, 0xf2, 0x47, 0x0c, 0x7b,
0x74, 0x6a, 0x56, 0x0f, 0x7d, 0x76, 0x71, 0x4b, 0x0c, 0x97, 0xb6, 0xcf, 0xfd, 0x78, 0x72,
0x66, 0x2f, 0xbd, 0xf8, 0x53, 0x24, 0xab, 0xd4, 0x2c, 0xb0, 0xe4, 0x32, 0xf1, 0x6a, 0x56,
Expand Down
2 changes: 1 addition & 1 deletion Arduino Example Sketches/ADNS9800test-serial.ino
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ volatile byte movementflag=0;
const int ncs = 10;

extern const unsigned short firmware_length;
extern const unsigned char firmware_data[];
extern const char firmware_data[];

void setup() {
Serial.begin(9600);
Expand Down
2 changes: 1 addition & 1 deletion Arduino Example Sketches/ADNS9800testPolling.ino
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ volatile byte movementflag=0;
const int ncs = 10;

extern const unsigned short firmware_length;
extern const unsigned char firmware_data[];
extern const char firmware_data[];

void setup() {
Serial.begin(9600);
Expand Down