Button triggered on save()

Posted on
  • Hey,

    everytime I do a save() on my Espruino board, the set button handler is triggered with weird data.

    Is there a reason for that? Is there anything in the data that can be used to ignore that after-save trigger?


  • That's odd. I've just made a new bug for it - I'm not sure entirely why but my guess is it's actually some issue with removing the watches on deinitialisation. It looks to me like it doesn't happen if you hard reset - it's only when you call save() or load()

  • Hey,

    Hard reset (and load() as far as I remember) work fine. Hard reset was my work around for the time being.

    Follow-up: a sequence of reset() and load() works fine, too.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview

Button triggered on save()

Posted by Avatar for Stev @Stev