system: some refactoring

There's no need to move a temporary which is already an rvalue

Clean-up some redundant attributes and function in settings.
Make sure C types are proxied to fixed-sized ones, not the other way around.

Clean-up webprint implementation
- use typed duration for the backlog
- don't duplicate members and types for config, just re-use the struct as-is
- don't go over-the-top with const members, just proxy through a method
This commit is contained in:
Maxim Prokhorov
2021-12-08 13:11:54 +03:00
parent 4d04125eb6
commit 16960067d8
11 changed files with 51 additions and 58 deletions

View File

@@ -1144,7 +1144,7 @@ BasePinPtr _buttonGpioPin(size_t index, ButtonProvider provider) {
break;
}
result = std::move(base->pin(pin));
result = base->pin(pin);
#endif
break;
}