Boa tarde estou com esse erro e não consigo descobrir,alguem poderia me ajudar.
[Arduino: 1.8.11 (Windows 7), Placa:"Arduino Uno"
dds:21:1: error: expected ',' or ';' before 'static'
static inline void setup_pwm_audio_timer(void);
^~~~~~
exit status 1
expected ',' or ';' before 'static'
Este relatório teria mais informações com
"Mostrar a saida detalhada durante a compilação"
opção pode ser ativada em "Arquivo -> Preferências"
]
[#include <avr/interrupt.h>
#include <avr/io.h>
#include <stdlib.h>
#include <avr/pgmspace.h>
#include "dds_waveforms.h"
#include "scale16.h"
#define clear_bit(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit))
#define set_bit(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit))
#define SAMPLE_RATE 24000UL
#define NUM_VOICES 4
/* Init functions, defined at the bottom of the file */
static inline void setup_pwm_audio_timer(void); Esta linha acusa o erro
static inline void setup_sample_timer(void);
struct DDS {
uint16_t increment;
uint16_t accumulator;
const int8_t* sample; /* pointer to beginning of sample in memory */
};
Muito Obrigado