rp2040js 0.17.2 → 0.17.3

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.
@@ -96,8 +96,8 @@ class RPSPI extends peripheral_1.BasePeripheral {
96
96
  doTX() {
97
97
  if (!this.busy && !this.txFIFO.empty) {
98
98
  const value = this.txFIFO.pull();
99
- this.onTransmit(value);
100
99
  this.busy = true;
100
+ this.onTransmit(value);
101
101
  this.fifosUpdated();
102
102
  }
103
103
  }
@@ -93,8 +93,8 @@ export class RPSPI extends BasePeripheral {
93
93
  doTX() {
94
94
  if (!this.busy && !this.txFIFO.empty) {
95
95
  const value = this.txFIFO.pull();
96
- this.onTransmit(value);
97
96
  this.busy = true;
97
+ this.onTransmit(value);
98
98
  this.fifosUpdated();
99
99
  }
100
100
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rp2040js",
3
- "version": "0.17.2",
3
+ "version": "0.17.3",
4
4
  "description": "Raspberry Pi Pico (RP2040) Emulator",
5
5
  "repository": "https://github.com/wokwi/rp2040js",
6
6
  "keywords": [