From 499328346c7e8db5c243e90ac3421bfc5552c3a6 Mon Sep 17 00:00:00 2001 From: Anton Haglund Date: Fri, 25 Sep 2020 12:56:30 +0200 Subject: [PATCH] Fix compilation of arm9x flavor (#7941) * Add include for inttypes Signed-off-by: anton * Fix missing declaration for setScaledVolume for PCBSKY9X Signed-off-by: anton --- radio/src/opentx.cpp | 4 ++++ radio/src/targets/sky9x/audio_driver.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/radio/src/opentx.cpp b/radio/src/opentx.cpp index b4ed1941d..78563178e 100644 --- a/radio/src/opentx.cpp +++ b/radio/src/opentx.cpp @@ -21,6 +21,10 @@ #include #include "opentx.h" +#if defined(PCBSKY9X) +#include "audio_driver.h" +#endif + RadioData g_eeGeneral; ModelData g_model; diff --git a/radio/src/targets/sky9x/audio_driver.h b/radio/src/targets/sky9x/audio_driver.h index dc2e14008..9c69d161f 100644 --- a/radio/src/targets/sky9x/audio_driver.h +++ b/radio/src/targets/sky9x/audio_driver.h @@ -21,6 +21,8 @@ #ifndef _AUDIO_DRIVER_H_ #define _AUDIO_DRIVER_H_ +#include + void audioInit( void ) ; void audioEnd( void ) ; void audioConsumeCurrentBuffer();