K1Guitar/MyCode/App_Auto.h

22 lines
451 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* App_Auto.h
*
* Created on: Apr 16, 2026
* Author: monosail
*/
#ifndef APP_AUTO_H_
#define APP_AUTO_H_
#include "mymidififo1.h"
#include <stdint.h>
extern void App_Auto_Init(void);
/* 统一加载入口:记录成功/失败,失败时 Stop避免空库起奏进 ISR 崩溃 */
int App_Auto_LoadPresetFromFlash(int presetIndex);
uint8_t App_Auto_IsPresetReady(void);
extern MidiFifoSeq_t m_MidiSendFifo;
#endif /* APP_AUTO_H_ */