'hw_timer_t' does not name a type error
when declared in an included file. I've stripped the problem down to very simple files. (All using the Arduino IDE for ESP32 Dev Module), if I have this simple file;
Code: Select all
hw_timer_t * timer = NULL;
void setup() {
}
void loop() {
}
The Main
Code: Select all
#include "IncludedFile.h"
void setup() {
}
void loop() {
}
Code: Select all
hw_timer_t * timer = NULL;
Code: Select all
#include "IncludedFile.h"
I know I'm doing something basic wrong here but what, help appreciated