Kaynağa Gözat

library update

Oliver Fabel 1 yıl önce
ebeveyn
işleme
af90043c81
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      mp_flipper_modflipperzero.c

+ 1 - 1
mp_flipper_modflipperzero.c

@@ -625,7 +625,7 @@ static const char* notes = "CCDDEFFGGAAB";
 static const float base_frequency = 16.3515979;
 static const float const_factor = 1.05946309436;
 
-inline float get_frequency_by_note(const uint8_t octave, const char note, const bool is_sharp) {
+static inline float get_frequency_by_note(const uint8_t octave, const char note, const bool is_sharp) {
     float freq = base_frequency;
 
     for(size_t i = 0; i < octave; i++) {