Commit f848802
committed
pybricksdev.connections.pybricks: Set callback before sending subscribe
This makes sure that the initial status update will be handled
and not dropped. This message contains important information such as
the currently active program slot.
Suggested-by: David Lechner <david@pybricks.com>1 parent f529636 commit f848802
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
947 | 947 | | |
948 | 948 | | |
949 | 949 | | |
950 | | - | |
951 | 950 | | |
| 951 | + | |
952 | 952 | | |
953 | 953 | | |
954 | 954 | | |
| |||
0 commit comments