@intechstudio/grid-protocol 1.20261007.808 → 1.20261013.1318

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import init, { format } from '@wasm-fmt/lua_fmt';
3
3
 
4
4
  var GRID_PROTOCOL_VERSION_MAJOR = "1";
5
5
  var GRID_PROTOCOL_VERSION_MINOR = "5";
6
- var GRID_PROTOCOL_VERSION_PATCH = "5";
6
+ var GRID_PROTOCOL_VERSION_PATCH = "6";
7
7
  var GRID_PARAMETER_ELEMENT_SYSTEM = "0";
8
8
  var GRID_PARAMETER_ELEMENT_POTMETER = "1";
9
9
  var GRID_PARAMETER_ELEMENT_BUTTON = "2";
@@ -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 0x?????X?Y: X (bits 8-11) flags RP2350 hardware; everything
3937
- // else keeps using Y (bit 0, i.e. hwcfg's parity) to tell ESP32 and D51
3938
- // apart, same as before X existed.
3939
- var X = (hwcfg >> 8) & 0xf;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intechstudio/grid-protocol",
3
- "version": "1.20261007.808",
3
+ "version": "1.20261013.1318",
4
4
  "description": "Grid protocol descriptors automatically generated from the grid-fw repository!",
5
5
  "scripts": {
6
6
  "test": "vitest run",