Oliver Fabel 1 rok temu
rodzic
commit
a6d8a4cfa6
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      mp_flipper_modflipperzero.c

+ 1 - 1
mp_flipper_modflipperzero.c

@@ -753,7 +753,7 @@ void flipperzero_module_attr(mp_obj_t self_in, qstr attr, mp_obj_t* dest) {
     const char* attribute = qstr_str(attr);
 
     if(strstr(attribute, "SPEAKER_NOTE_") == attribute[0]) {
-        print(attribute);
+        dest[0] = mp_obj_new_int(42);
     } else {
         dest[0] = MP_OBJ_NULL;
     }