Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

Commit

Permalink
cmake compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pschatzmann committed May 20, 2023
1 parent 7946c26 commit 47ebd8d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/audio_hal/audio_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,5 @@ void pinMode(int gpio, int mode){

}


#endif
5 changes: 5 additions & 0 deletions src/audio_hal/audio_gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ void pinMode(int, int);

#else // no ESP32
#include <stdbool.h>
#include <stdint.h>
#include <stddef.h>

#define I2S_NUM_0 0
#define I2S_NUM_1 1
Expand Down Expand Up @@ -158,5 +160,8 @@ typedef struct {
int spics_io_num; ///< CS GPIO pin for this device, or -1 if not used
} spi_device_interface_config_t;

#ifndef ARDUINO
void delay(uint64_t t);
#endif

#endif // ESP32

0 comments on commit 47ebd8d

Please sign in to comment.