Skip to content

Commit

Permalink
🩹 Fix Anycubic PlayTune (MarlinFirmware#25728)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellensp authored and EvilGremlin committed May 17, 2023
1 parent f4a7a8f commit 5497f00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Marlin/src/lcd/extui/anycubic/Tunes.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ n_END=10000 // end of tune marker

namespace Anycubic {

void PlayTune(const uint8_t beeperPin, const uint16_t *tune, const uint8_t speed);
void PlayTune(const uint16_t *tune, const uint8_t speed);

// Only uncomment the tunes you are using to save memory
// This will help you write tunes!
Expand Down
4 changes: 2 additions & 2 deletions Marlin/src/lcd/extui/anycubic_vyper/FileNavigator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ using namespace ExtUI;

namespace Anycubic {

FileList FileNavigator::filelist; // Instance of the Marlin file API
char FileNavigator::currentfoldername[MAX_PATH_LEN]; // Current folder path
FileList FileNavigator::filelist; // Instance of the Marlin file API
char FileNavigator::currentfoldername[MAX_PATH_LEN + 1]; // Current folder path
uint16_t FileNavigator::lastindex;
uint8_t FileNavigator::folderdepth;
uint16_t FileNavigator::currentindex; // override the panel request
Expand Down

0 comments on commit 5497f00

Please sign in to comment.