workaround missing PAGE_SIZE
This commit is contained in:
parent
1e2066726a
commit
9774c9306a
@ -209,6 +209,12 @@ namespace pxt {
|
|||||||
return bytecode[17] * 2;
|
return bytecode[17] * 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef PAGE_SIZE
|
||||||
|
|
||||||
|
#define PAGE_SIZE 1
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
//%
|
//%
|
||||||
uint32_t afterProgramPage() {
|
uint32_t afterProgramPage() {
|
||||||
uint32_t ptr = (uint32_t)&bytecode[0];
|
uint32_t ptr = (uint32_t)&bytecode[0];
|
||||||
|
Loading…
Reference in New Issue
Block a user