From 3464d0d109c67548edf88c6b0c68ffe878fc1fdc Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Fri, 9 Apr 2021 08:09:50 +0200 Subject: [PATCH] clearInputs() has been moved out of defaultInputs() But we should keep a consistent behaviour in the LUA API. --- radio/src/lua/api_model.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/radio/src/lua/api_model.cpp b/radio/src/lua/api_model.cpp index 90c19f4d9..20860a969 100644 --- a/radio/src/lua/api_model.cpp +++ b/radio/src/lua/api_model.cpp @@ -664,6 +664,7 @@ Set all inputs to defaults */ static int luaModelDefaultInputs(lua_State *L) { + clearInputs(); defaultInputs(); return 0; }