workaround missing PAGE_SIZE

This commit is contained in:
Peli de Halleux 2016-11-09 13:30:37 -08:00
parent 1e2066726a
commit 9774c9306a
1 changed files with 6 additions and 0 deletions

View File

@ -209,6 +209,12 @@ namespace pxt {
return bytecode[17] * 2;
}
#ifndef PAGE_SIZE
#define PAGE_SIZE 1
#endif
//%
uint32_t afterProgramPage() {
uint32_t ptr = (uint32_t)&bytecode[0];