Skip to content

Commit fba1f83

Browse files
authored
🩹 Fix Anycubic PlayTune (MarlinFirmware#25728)
Followup to MarlinFirmware#25690
1 parent 726de7e commit fba1f83

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Marlin/src/lcd/extui/anycubic/Tunes.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ n_END=10000 // end of tune marker
6161

6262
namespace Anycubic {
6363

64-
void PlayTune(const uint8_t beeperPin, const uint16_t *tune, const uint8_t speed);
64+
void PlayTune(const uint16_t *tune, const uint8_t speed);
6565

6666
// Only uncomment the tunes you are using to save memory
6767
// This will help you write tunes!

Marlin/src/lcd/extui/anycubic_vyper/FileNavigator.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ using namespace ExtUI;
4040

4141
namespace Anycubic {
4242

43-
FileList FileNavigator::filelist; // Instance of the Marlin file API
44-
char FileNavigator::currentfoldername[MAX_PATH_LEN]; // Current folder path
43+
FileList FileNavigator::filelist; // Instance of the Marlin file API
44+
char FileNavigator::currentfoldername[MAX_PATH_LEN + 1]; // Current folder path
4545
uint16_t FileNavigator::lastindex;
4646
uint8_t FileNavigator::folderdepth;
4747
uint16_t FileNavigator::currentindex; // override the panel request

0 commit comments

Comments
 (0)