pxt-common-packages 9.3.8 → 9.3.9

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.
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P185064(s) {
59
+ function _main___P185066(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,19 +66,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___185305 = (undefined);
70
- globals._pollEventQueue___185318 = (undefined);
69
+ globals._intervals___185307 = (undefined);
70
+ globals._pollEventQueue___185320 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P185064.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"keypad.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P185064.continuations = [ ]
75
+ _main___P185066.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"keypad.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P185066.continuations = [ ]
77
77
 
78
- function _main___P185064_mk(s) {
78
+ function _main___P185066_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P185064, depth: s.depth + 1,
81
+ parent: s, fn: _main___P185066, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
@@ -88,5 +88,5 @@ function _main___P185064_mk(s) {
88
88
 
89
89
  const breakpoints = setupDebugger(1, [])
90
90
 
91
- return _main___P185064
91
+ return _main___P185066
92
92
  })
package/libs/mqtt/mqtt.ts CHANGED
@@ -465,8 +465,7 @@ namespace mqtt {
465
465
  if (cnt++ < 100 && this.status == Status.Sending)
466
466
  pause(20)
467
467
  else {
468
- throw "drop pkt"
469
- //this.log("drop pkt")
468
+ this.log("drop pkt")
470
469
  return false
471
470
  }
472
471
  }