Skip to content

Commit c4a855a

Browse files
committed
fix how suppression was configured
1 parent 68214fa commit c4a855a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

components/esp-box/example/main/esp_box_example.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -375,10 +375,11 @@ static size_t load_audio() {
375375
}
376376

377377
// load the audio data. these are configured in the CMakeLists.txt file
378-
extern const uint8_t click_wav_start[] asm(
379-
"_binary_click_wav_start"); // cppcheck-suppress syntaxError
380-
extern const uint8_t click_wav_end[] asm(
381-
"_binary_click_wav_end"); // cppcheck-suppress syntaxError
378+
379+
// cppcheck-suppress syntaxError
380+
extern const uint8_t click_wav_start[] asm("_binary_click_wav_start");
381+
// cppcheck-suppress syntaxError
382+
extern const uint8_t click_wav_end[] asm("_binary_click_wav_end");
382383
audio_bytes = std::vector<uint8_t>(click_wav_start, click_wav_end);
383384
return audio_bytes.size();
384385
}

0 commit comments

Comments
 (0)