Oliver Fabel před 1 rokem
rodič
revize
b666c9d362
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      mp_flipper_modflipperzero.c

+ 1 - 1
mp_flipper_modflipperzero.c

@@ -751,7 +751,7 @@ 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);
 
 
             dest[1] = self_in;
             dest[1] = self_in;