From 92faa9f958a1144a5d67c2bbaaeb888d6beadd36 Mon Sep 17 00:00:00 2001 From: andrew Date: Tue, 15 Jan 2019 18:25:00 +0100 Subject: [PATCH] Fix parameter count for config.delete(). --- embed/extmod/modtrezorconfig/modtrezorconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embed/extmod/modtrezorconfig/modtrezorconfig.c b/embed/extmod/modtrezorconfig/modtrezorconfig.c index 75ea8e4b38..2344c3a6e0 100644 --- a/embed/extmod/modtrezorconfig/modtrezorconfig.c +++ b/embed/extmod/modtrezorconfig/modtrezorconfig.c @@ -184,7 +184,7 @@ STATIC mp_obj_t mod_trezorconfig_delete(size_t n_args, const mp_obj_t *args) { } return mp_const_true; } -STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(mod_trezorconfig_delete_obj, 3, 4, mod_trezorconfig_delete); +STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(mod_trezorconfig_delete_obj, 2, 3, mod_trezorconfig_delete); /// def wipe() -> None: /// '''