소스 검색

library update

Oliver Fabel 1 년 전
부모
커밋
a6d8a4cfa6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;
     }