summaryrefslogtreecommitdiff
path: root/supervisor/shared/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'supervisor/shared/flash.c')
-rw-r--r--supervisor/shared/flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/supervisor/shared/flash.c b/supervisor/shared/flash.c
index c8921aa85..8be21e5d0 100644
--- a/supervisor/shared/flash.c
+++ b/supervisor/shared/flash.c
@@ -57,9 +57,9 @@ void supervisor_flash_set_usb_writable(bool usb_writable) {
const mp_obj_type_t supervisor_flash_type;
STATIC const mp_obj_base_t supervisor_flash_obj = {&supervisor_flash_type};
-STATIC mp_obj_t supervisor_flash_obj_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *args) {
+STATIC mp_obj_t supervisor_flash_obj_make_new(const mp_obj_type_t *type, size_t n_args, const mp_obj_t *args, mp_map_t *kw_args) {
// check arguments
- mp_arg_check_num(n_args, n_kw, 0, 0, false);
+ mp_arg_check_num(n_args, kw_args, 0, 0, false);
// return singleton object
return (mp_obj_t)&supervisor_flash_obj;