Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lua / "require" functionality fails on real hardware #4058

Closed
azaz44 opened this issue May 21, 2024 · 1 comment
Closed

Lua / "require" functionality fails on real hardware #4058

azaz44 opened this issue May 21, 2024 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@azaz44
Copy link

azaz44 commented May 21, 2024

Testing on Ethis 1.5.7, x20s.

Using require statements, and having some_module.lua in same folder as main.lua, require works perfectly when testing in simulator

require "some_module"

However, on real hardware the script (widget) doesn't show up. Replacing require "some_module" with dofile("some_module") makes it work. But of course require is much preferable.

BTW. I can't debug what is going on, because connecting serial for debugging needs radio running, but then scripts were already loaded. Is there a way to see the debug output while radio is booting up?

@github-actions github-actions bot added the stale label Aug 20, 2024
@bsongis-frsky bsongis-frsky added bug Something isn't working and removed stale labels Aug 20, 2024
@bsongis-frsky bsongis-frsky added this to the 1.5.14 milestone Aug 20, 2024
@FrSkyRC FrSkyRC deleted a comment from github-actions bot Aug 22, 2024
@bsongis-frsky bsongis-frsky self-assigned this Aug 22, 2024
@bsongis-frsky
Copy link
Collaborator

Fixed in the next nightlies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants