Created
April 14, 2014 10:14
-
-
Save SergNikitin/10634970 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static const u08 BTN_NOT_PRESSED = 1; | |
int main() { | |
static u08 previousBtnState[4] = {BTN_NOT_PRESSED, | |
BTN_NOT_PRESSED, | |
BTN_NOT_PRESSED, | |
BTN_NOT_PRESSED}; | |
} | |
/* | |
static u08 previousBtnState[__MC_BUTTONS] = { BTN_NOT_PRESSED, | |
^ | |
Error[Pe028]: expression must have a constant value | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment