Skip to content

UHK80: macro error incorrectly displayed during firmware upgrade #1508

@mhantsch

Description

@mhantsch

When I upgrade the UHK80 firmware through Agent with both halves connected through USB, this is what happens:

  • Agent updates the right half.
  • The right half starts running and processing macros.
  • My $onInit macro takes a few seconds, as it does a countdown:
...
setVar count 3
loop:
setLedTxt 1000 leftStatus $count abbrev $count
repeatFor count loop
...
  • While the right half is still running the countdown, Agent proceeds to update the left half.
  • The right half produces an arbitrary strange macro error, e.g. "unknown command c" in the middle of the repeatFor c loop command
  • The triangle display gets lit.
  • Agent doesn't show the error message yet because it's busy doing the rest of the update.
  • The update continues with the left half.
  • The left half completes the update.
  • Agent pops up the yellow banner and shows the strange macro error.

I can just clear the error, or reboot the keyboard, and everything will be fine without macro errors.

I don't know if the UHK60 is also affected by this; in any case, it would show up differently as the right half will be busy processing and forwarding the update to the left half.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions