Explorar o código

library update

Oliver Fabel hai 1 ano
pai
achega
ca9ebd75ad
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      mp_flipper_modflipperzero.c

+ 4 - 4
mp_flipper_modflipperzero.c

@@ -752,18 +752,18 @@ void flipperzero_module_attr(mp_obj_t self_in, qstr attr, mp_obj_t* dest) {
         const char* attribute = qstr_str(attr);
         const char* attribute = qstr_str(attr);
 
 
         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);
         } else {
         } else {
-            dest[0] = mp_obj_new_int(13);
+            // dest[0] = mp_obj_new_int(13);
         }
         }
 
 
-        dest[1] = self_in;
+        // dest[1] = self_in;
     } else if(dest[1] == MP_OBJ_NULL) {
     } else if(dest[1] == MP_OBJ_NULL) {
         // delete attribute
         // delete attribute
     } else {
     } else {
         // store attribute
         // store attribute
 
 
-        dest[0] = MP_OBJ_NULL;
+        // dest[0] = MP_OBJ_NULL;
     }
     }
 }
 }