Bugfix: serial power state executed on power-up irrespective of the serial mode selected.
This commit is contained in:
@@ -243,8 +243,8 @@ class SerialConfigWindow : public FormGroup
|
||||
new CheckBox(
|
||||
this, grid.getFieldSlot(1, 0),
|
||||
[=] { return serialGetPower(port_nr); },
|
||||
[=](int32_t newValue) {
|
||||
serialSetPower(port_nr, newValue);
|
||||
[=](int8_t newValue) {
|
||||
serialSetPower(port_nr, (bool)newValue);
|
||||
SET_DIRTY();
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user