Add branch for the conversion of demos to use standard C header files for configuration, rather than makefile defined macros.
This commit is contained in:
1 parent
e8570c4a37
commit
359fbfe14d
395 files changed
+9912
-2756
No files matched your search
@@ -970,13 +970,9 @@ void parse_options(int argc, char **argv)
|
||||
} else if (strncmp(arg, "-mmcu=", 6) == 0) {
|
||||
arg += 6;
|
||||
|
||||
uint8_t valid_prefix = 0;
|
||||
|
||||
if (strncmp(arg, "at90usb", 7) == 0) {
|
||||
valid_prefix = 1;
|
||||
arg += 7;
|
||||
} else if (strncmp(arg, "atmega", 6) == 0) {
|
||||
valid_prefix = 1;
|
||||
arg += 6;
|
||||
} else {
|
||||
die("Unknown MCU type\n");
|
||||
|
||||
Reference in new issue
Block a user