diff --git a/code/espurna/button.ino b/code/espurna/button.ino index ff31135291..7f5b779697 100644 --- a/code/espurna/button.ino +++ b/code/espurna/button.ino @@ -490,7 +490,7 @@ void _buttonConfigure() { // TODO: compatibility proxy, fetch global key before indexed template unsigned long _buttonGetSetting(const char* key, unsigned char index, T default_value) { - return getSetting(key, getSetting({key, index}, default_value)); + return getSetting({key, index}, getSetting(key, default_value)); } void buttonSetup() {