Skip to content

Conversation

@straga
Copy link
Contributor

@straga straga commented May 17, 2016

I changed the location for the firmware files. Now you can flash directly in the configurator.

@DzikuVx DzikuVx merged commit 265f358 into iNavFlight:master May 17, 2016
@DzikuVx
Copy link
Member

DzikuVx commented May 17, 2016

Super nice, thanks

@straga straga deleted the firmware_online branch May 17, 2016 18:10
azolyoung pushed a commit to azolyoung/inav-configurator that referenced this pull request Oct 19, 2017
Fix gyro reported as disabled when ACC is disabled
DzikuVx pushed a commit that referenced this pull request Nov 27, 2020
sensei-hacker added a commit that referenced this pull request Dec 19, 2025
When a sticky has an activator, it's defined inside an if-block but may
be referenced from outside (e.g., by a root-level delay). The old code
relied on JavaScript var hoisting, which worked but was confusing.

Fix: Pre-declare sticky variables at top level when they have activators.
- Before: if (cond) { var latch1 = sticky({...}); }
- After:  var latch1; ... if (cond) { latch1 = sticky({...}); }

Changes:
- decompiler.js: Add predeclaredStickyVars set, pre-declare before roots
- renderStickyWithLatch: Use assignment-only for pre-declared vars
- simple_test_runner.cjs: Add toBeTruthy/toBeFalsy assertions
- sticky_scope_test.cjs: New test for scope fix verification
- decompiler.test.cjs: Update test expectations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants