We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 977df98 commit 2184c00Copy full SHA for 2184c00
examples/Wasm_Blink/Wasm_Blink.ino
@@ -16,10 +16,8 @@
16
#define WASM_STACK_SLOTS 1024
17
#define NATIVE_STACK_SIZE 32768
18
19
-// For devices that cannot allocate a 64KiB wasm page
20
-#if defined(ESP8266) || defined(PARTICLE) //...
+// Most devices that cannot allocate a 64KiB wasm page
21
#define WASM_MEMORY_LIMIT 2048
22
-#endif
23
24
/*
25
* WebAssembly app
@@ -86,9 +84,9 @@ m3ApiRawFunction(m3_arduino_delay)
86
84
uint8_t mapPinMode(uint8_t mode)
87
85
{
88
switch(mode) {
89
- case (0): return INPUT;
90
- case (1): return OUTPUT;
91
- case (2): return INPUT_PULLUP;
+ case 0: return INPUT;
+ case 1: return OUTPUT;
+ case 2: return INPUT_PULLUP;
92
}
93
return INPUT;
94
0 commit comments