uclibc compatibility

Adds compatibility with uclibc, the officially supported toolchain of the luckfox pico
This commit is contained in:
vidplace7 2024-11-06 09:04:18 -05:00 committed by Thomas Göttgens
parent b506f6dcb0
commit efb10c557b
2 changed files with 1 additions and 2 deletions

View File

@ -3,6 +3,7 @@
#include "PhoneAPI.h" #include "PhoneAPI.h"
#include "Stream.h" #include "Stream.h"
#include "concurrency/OSThread.h" #include "concurrency/OSThread.h"
#include <cstdarg>
// A To/FromRadio packet + our 32 bit header // A To/FromRadio packet + our 32 bit header
#define MAX_STREAM_BUF_SIZE (MAX_TO_FROM_RADIO_SIZE + sizeof(uint32_t)) #define MAX_STREAM_BUF_SIZE (MAX_TO_FROM_RADIO_SIZE + sizeof(uint32_t))

View File

@ -17,9 +17,7 @@
#include "sleep.h" #include "sleep.h"
#include "target_specific.h" #include "target_specific.h"
extern "C" {
#include <Throttle.h> #include <Throttle.h>
}
PositionModule *positionModule; PositionModule *positionModule;