relay: fix dependencies when disabled

This commit is contained in:
Maxim Prokhorov
2023-01-11 05:14:29 +03:00
parent ef086ac0fc
commit f55b8f39f3
4 changed files with 16 additions and 0 deletions

View File

@@ -658,6 +658,7 @@ unsigned long repeatDelay(size_t index) {
return internal::indexedThenGlobal(keys::RepeatDelay, index, build::repeatDelay(index));
}
[[gnu::unused]]
size_t relay(size_t index) {
return getSetting({keys::Relay, index}, build::relay(index));
}