fix RP2040 and Portduino Platforms

This commit is contained in:
Thomas Göttgens
2022-11-24 12:24:57 +01:00
parent 025d2264a2
commit 51ef9b7fbe
3 changed files with 7 additions and 5 deletions

View File

@@ -2,11 +2,13 @@
#include "configuration.h"
#include "NodeDB.h"
#ifndef ARCH_ESP32
#if !defined(ARCH_ESP32) && !defined(ARCH_RP2040) && !defined(ARCH_PORTDUINO)
#include "Tone.h"
#endif
#if !defined(ARCH_PORTDUINO)
extern "C" void delay(uint32_t dwMs);
#endif
struct ToneDuration {
int frequency_khz;