pxt-common-packages 10.1.9 → 10.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -149,6 +149,13 @@ class WDisplay {
|
|
|
149
149
|
break;
|
|
150
150
|
|
|
151
151
|
fiber_sleep(100);
|
|
152
|
+
|
|
153
|
+
// the device will run without shield when the following is specified in user program:
|
|
154
|
+
// namespace userconfig { export const DISPLAY_CFG0 = 0x02000080 }
|
|
155
|
+
if (*cfg0 & 0x2000000) {
|
|
156
|
+
DMESG("74HC: no wait requested");
|
|
157
|
+
return DISPLAY_TYPE_ST7735;
|
|
158
|
+
}
|
|
152
159
|
}
|
|
153
160
|
|
|
154
161
|
DMESG("74HC: %x", hc);
|