@intechstudio/grid-protocol 1.20261007.808 → 1.20261007.1518
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.
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3933,10 +3933,10 @@ var grid;
|
|
|
3933
3933
|
}
|
|
3934
3934
|
grid.get_element_events = get_element_events;
|
|
3935
3935
|
function module_architecture_from_hwcfg(hwcfg) {
|
|
3936
|
-
// hwcfg is
|
|
3937
|
-
//
|
|
3938
|
-
//
|
|
3939
|
-
var X = (hwcfg >>
|
|
3936
|
+
// hwcfg is 0b?????X?Y: X (bit 2) flags RP2350 hardware; everything else
|
|
3937
|
+
// keeps using Y (bit 0, i.e. hwcfg's parity) to tell ESP32 and D51 apart,
|
|
3938
|
+
// same as before X existed.
|
|
3939
|
+
var X = (hwcfg >> 2) & 1;
|
|
3940
3940
|
if (X === 1) {
|
|
3941
3941
|
return Architecture.RP2350;
|
|
3942
3942
|
}
|
package/package.json
CHANGED