1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-25 11:17:26 +00:00

Further prefer static constexpr.

This commit is contained in:
Thomas Harte
2025-09-12 21:40:08 -04:00
parent 98b900e886
commit 0d1fe03369
35 changed files with 118 additions and 118 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ void ReactiveDevice::advance_state(double microseconds, bool current_level) {
}
// Convert that into a level.
constexpr double low_periods[] = {66, 33};
static constexpr double low_periods[] = {66, 33};
bus_.set_device_output(device_id_, microseconds_at_bit_ > low_periods[bit]);
}