1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-09-15 20:24:55 +00:00

Adjust bit polarity, meaning.

This commit is contained in:
Thomas Harte
2024-04-30 22:49:26 -04:00
parent 6a2261d217
commit d90eedfc8c
3 changed files with 5 additions and 2 deletions

View File

@@ -122,6 +122,9 @@ class Controller:
Drive &get_drive(size_t index) {
return *drives_[index];
}
const Drive &get_drive(size_t index) const {
return *drives_[index];
}
void for_all_drives(const std::function<void(Drive &, size_t)> &func) {
size_t index = 0;