diff options
author | jiyunomegami <[email protected]> | 2020-07-05 00:07:14 +0900 |
---|---|---|
committer | jiyunomegami <[email protected]> | 2020-07-05 00:07:14 +0900 |
commit | 29093b1bf3ffd2be7219ff937e75a13c80fd1991 (patch) | |
tree | 91566143d315301181ffee086f35377182ab1e46 /Cart_Reader/NGP.ino | |
parent | cb938a65bc8518c14db32303a1fc8746efdcaeff (diff) | |
download | cartreader-29093b1bf3ffd2be7219ff937e75a13c80fd1991.tar.gz cartreader-29093b1bf3ffd2be7219ff937e75a13c80fd1991.zip |
add #ifdef enable_XXX check to each module
Diffstat (limited to 'Cart_Reader/NGP.ino')
-rw-r--r-- | Cart_Reader/NGP.ino | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Cart_Reader/NGP.ino b/Cart_Reader/NGP.ino index 7727467..423909c 100644 --- a/Cart_Reader/NGP.ino +++ b/Cart_Reader/NGP.ino @@ -2,6 +2,9 @@ // NGP MODULE //****************************************** +#include "options.h" +#ifdef enable_NGP + static const char ngpMenuItem1[] PROGMEM = "Read Rom"; static const char ngpMenuItemReset[] PROGMEM = "Reset"; static const char* const menuOptionsNGP[] PROGMEM = {ngpMenuItem1, ngpMenuItemReset}; @@ -236,3 +239,5 @@ uint8_t readByte_NGP(uint32_t addr) { return data; } + +#endif
\ No newline at end of file |