David Lechner 4e2902730a hub: fix buttons not enabled after connection
A previous commit broke buttons after connecting since state all state
transitions were changed to be ignored if the current state was
"disconnected". This made it impossible to get into any other state.

This brings back use of the "unknown" state upon initial connection
to provide a path out of the "disconnected" state.

Fixes: 7a5aa75894
2021-07-06 10:53:56 -05:00
2020-07-15 13:01:56 -05:00
2021-07-02 20:59:09 -05:00
2021-02-01 13:02:06 -06:00
2021-01-08 13:09:14 -06:00
2021-04-02 12:48:06 -05:00
2021-05-17 14:45:35 -05:00
2021-01-08 13:31:11 -06:00
2020-04-08 19:23:19 -05:00
2021-02-04 19:07:04 -06:00
2021-07-02 20:59:09 -05:00
2021-02-04 19:07:04 -06:00
2021-01-17 12:46:08 -06:00
2021-07-02 20:59:09 -05:00
2021-02-01 10:26:05 -06:00
2021-01-08 16:23:42 -06:00
2021-07-02 20:59:09 -05:00

example workflow name Coverage Status

pybricks-code

A Web App for programming LEGO® Powered Up smart hubs using Pybricks MicroPython.

Try it at https://code.pybricks.com.

screenshot

Contributing

If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.

For more details, see the file CONTRIBUTING.md.


LEGO® is a trademark of the LEGO Group of companies which does not sponsor, authorize or endorse this project.
S
Description
Web IDE for Pybricks
https://code.pybricks.com/
Readme MIT
52 MiB
Languages
TypeScript 90%
JavaScript 7.6%
SCSS 2.1%
HTML 0.2%
Python 0.1%