mirror of
https://github.com/opentx/opentx.git
synced 2025-07-20 06:45:10 +03:00
[Taranis] USB=MASSSTORAGE option again OK
This commit is contained in:
parent
5a2d373edd
commit
a458c78dbe
3 changed files with 4 additions and 5 deletions
|
@ -39,8 +39,6 @@
|
||||||
static uint8_t currentSpeakerVolume = 255;
|
static uint8_t currentSpeakerVolume = 255;
|
||||||
uint8_t requiredSpeakerVolume = 255;
|
uint8_t requiredSpeakerVolume = 255;
|
||||||
|
|
||||||
extern void checkBattery();
|
|
||||||
|
|
||||||
void handleUsbConnection()
|
void handleUsbConnection()
|
||||||
{
|
{
|
||||||
#if defined(PCBTARANIS) && !defined(SIMU)
|
#if defined(PCBTARANIS) && !defined(SIMU)
|
||||||
|
|
|
@ -1474,6 +1474,10 @@ enum AUDIO_SOUNDS {
|
||||||
extern uint8_t requiredSpeakerVolume;
|
extern uint8_t requiredSpeakerVolume;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
extern void checkBattery();
|
||||||
|
extern void opentxClose();
|
||||||
|
extern void opentxInit();
|
||||||
|
|
||||||
// Re-useable byte array to save having multiple buffers
|
// Re-useable byte array to save having multiple buffers
|
||||||
#define SD_SCREEN_FILE_LENGTH (32)
|
#define SD_SCREEN_FILE_LENGTH (32)
|
||||||
union ReusableBuffer
|
union ReusableBuffer
|
||||||
|
|
|
@ -155,9 +155,6 @@ void mixerTask(void * pdata)
|
||||||
|
|
||||||
#define MENU_TASK_PERIOD_TICKS 10 // 20ms
|
#define MENU_TASK_PERIOD_TICKS 10 // 20ms
|
||||||
|
|
||||||
extern void opentxClose();
|
|
||||||
extern void opentxInit();
|
|
||||||
|
|
||||||
void menusTask(void * pdata)
|
void menusTask(void * pdata)
|
||||||
{
|
{
|
||||||
opentxInit();
|
opentxInit();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue