1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-12-02 16:59:03 +00:00

🩹 Fix Anycubic PlayTune (#25728)

Followup to #25690
This commit is contained in:
ellensp 2023-04-22 21:02:51 +12:00 committed by GitHub
parent 726de7e821
commit fba1f83855
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -61,7 +61,7 @@ n_END=10000 // end of tune marker
namespace Anycubic { 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 // Only uncomment the tunes you are using to save memory
// This will help you write tunes! // This will help you write tunes!

View File

@ -40,8 +40,8 @@ using namespace ExtUI;
namespace Anycubic { namespace Anycubic {
FileList FileNavigator::filelist; // Instance of the Marlin file API FileList FileNavigator::filelist; // Instance of the Marlin file API
char FileNavigator::currentfoldername[MAX_PATH_LEN]; // Current folder path char FileNavigator::currentfoldername[MAX_PATH_LEN + 1]; // Current folder path
uint16_t FileNavigator::lastindex; uint16_t FileNavigator::lastindex;
uint8_t FileNavigator::folderdepth; uint8_t FileNavigator::folderdepth;
uint16_t FileNavigator::currentindex; // override the panel request uint16_t FileNavigator::currentindex; // override the panel request