openbci-archive/OpenBCI_8bit

SDcard.ino: 'prog_char' does not name a type

Opened this issue · 1 comments

In Arduino IDE V1.5.7 and V1.5.8 for Windows, I get the following error when i try to compile OpenBCI_8bit_SD.ino ...

SDcard.ino:57:1: error: 'prog_char' does not name a type
SDcard.ino:58:1: error: 'prog_char' does not name a type
SDcard.ino:59:1: error: 'prog_char' does not name a type
SDcard.ino:60:1: error: 'prog_char' does not name a type
SDcard.ino:61:1: error: 'prog_char' does not name a type
SDcard.ino:63:1: error: 'prog_char' does not name a type
SDcard.ino:64:1: error: 'prog_char' does not name a type

This prevents the program from compiling.

I found a workaround (see http://openbci.com/forum/index.php?p=/discussion/271/prog-char-does-not-name-a-type#latest), but IMO the code should be fixed so that they can compile without making any changes.

Joel, if you're interested, I've posted my workaround as a pull request:

#4