Filter: fixed example warnings
This commit is contained in:
parent
29f5e346c2
commit
32afc3f9ae
@ -44,7 +44,6 @@ void loop()
|
||||
uint32_t t1 = hal.scheduler->micros();
|
||||
derivative.update(s, t1);
|
||||
float output = derivative.slope() * 1.0e6;
|
||||
uint32_t t2 = hal.scheduler->micros();
|
||||
hal.console->printf("%f %f %f %f\n", t, output, s, cos(t));
|
||||
}
|
||||
|
||||
|
@ -61,12 +61,7 @@ void readTemp()
|
||||
//Main loop where the action takes place
|
||||
void loop()
|
||||
{
|
||||
uint8_t i = 0;
|
||||
int16_t filtered_value;
|
||||
|
||||
int16_t j;
|
||||
|
||||
for(j=0; j<0xFF; j++ ) {
|
||||
for (uint8_t j=0; j<0xFF; j++ ) {
|
||||
readTemp();
|
||||
hal.scheduler->delay(100);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user