refactor signaling with led and debug pins
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
|
||||
|
||||
|
||||
static volatile int32_t frontendAdcThreshold = 240;
|
||||
static volatile int32_t frontendAdcThreshold = 0;
|
||||
static volatile bool frontendEnabled = false;
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@ void frontendInit() {
|
||||
logMsg("frontendInit, adc started");
|
||||
}
|
||||
|
||||
void frontendSetThreshold(uint16_t threshold) {
|
||||
void frontendSetThreshold(int32_t threshold) {
|
||||
frontendAdcThreshold = threshold;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user