Closed andypiper closed 1 year ago
I'm also seeing the same issues with the firmware check as described in #150
@andypiper Does the code here work for you? https://github.com/nornagon/saxi/pull/176
yes, thanks @alexrudd2 that fixes the CLI firmware message / gets back the version and outputs an expected TODO error message. No change on the wake lock that I can see, but that's not unexpected.
Since the wake-lock
module is macOS-only, it may be worth wrapping the call to WakeLock()
in src/server.ts
with an os-check, to avoid this warning - until I looked at both the saxi and wake-lock module code, I didn't know that this was not something I needed to worry about on a Pi.
@andypiper Can you try either of the linked PRs and see if this works for you? (one's here, one's a fork). @jedahan did exactly as you suggested with an OS check wrapper.
Raspberry Pi 4B OS: Raspbian GNU/Linux 11 Node: 20.4.0 AxiDraw firmware version: 2.8.1
I'm also seeing the same issues with the firmware check as described in #150