Explorar el Código

library update

Oliver Fabel hace 1 año
padre
commit
11f8d56828
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  1. 1 3
      mp_flipper_modflipperzero.c

+ 1 - 3
mp_flipper_modflipperzero.c

@@ -753,10 +753,8 @@ void flipperzero_module_attr(mp_obj_t self_in, qstr attr, mp_obj_t* dest) {
 
 
         if(strstr(attribute, "SPEAKER_NOTE_") == &attribute[0]) {
         if(strstr(attribute, "SPEAKER_NOTE_") == &attribute[0]) {
             dest[0] = mp_obj_new_int(42);
             dest[0] = mp_obj_new_int(42);
-
-            dest[1] = self_in;
         } else {
         } else {
-            // dest[0] = mp_obj_new_int(13);
+            dest[0] = mp_obj_new_int(13);
         }
         }
     } else if(dest[1] == MP_OBJ_NULL) {
     } else if(dest[1] == MP_OBJ_NULL) {
         // delete attribute
         // delete attribute