ソースを参照

library update

Oliver Fabel 1 年間 前
コミット
af90043c81
1 ファイル変更1 行追加1 行削除
  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++) {