fix --'
This commit is contained in:
parent
d1ecf570db
commit
38cb706aff
|
@ -27,10 +27,6 @@ void setup() {
|
||||||
time = millis();
|
time = millis();
|
||||||
}
|
}
|
||||||
|
|
||||||
void send_data();
|
|
||||||
void manage_discover();
|
|
||||||
void manage_message();
|
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
|
|
||||||
/* [1] If SEND_TIMEOUT reached -> send data */
|
/* [1] If SEND_TIMEOUT reached -> send data */
|
||||||
|
@ -89,7 +85,7 @@ void manage_discover(){
|
||||||
screen.printfn(0, "dsc[ %3d / %3d ]", recv.getDist(), recv.getWave());
|
screen.printfn(0, "dsc[ %3d / %3d ]", recv.getDist(), recv.getWave());
|
||||||
|
|
||||||
// update features
|
// update features
|
||||||
if( !myself.update(recv.getWave(), recv.getDist()) ){
|
if( !myself.update(recv.getDist(), recv.getWave()) ){
|
||||||
screen.printfn(1, "x ");
|
screen.printfn(1, "x ");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue