From e02d105589f1fc5cb5a70e61df31797ea5d327b2 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Mon, 27 Sep 2021 10:30:45 -0400 Subject: [PATCH] Fix configSwitch() call in Migrate2. --- Migrate2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Migrate2.md b/Migrate2.md index 42d164e..4d8ddb8 100644 --- a/Migrate2.md +++ b/Migrate2.md @@ -118,7 +118,7 @@ For momentary buttons and multi-state switches, displaying a real-valued paramet Instead, use `configButton()` to hide the text field in its context menu, or `configSwitch()` to offer a list of choices. ```cpp configButton(TAP_PARAM); -configSwitch(SYNC_PARAM, "Sync mode", {"Soft", "Hard"}); +configSwitch(SYNC_PARAM, 0, 1, 0, "Sync mode", {"Soft", "Hard"}); ```