This commit is contained in:
Adrien Marquès 2018-12-11 14:48:07 +01:00
parent d1ecf570db
commit 38cb706aff
1 changed files with 1 additions and 5 deletions

View File

@ -27,10 +27,6 @@ void setup() {
time = millis();
}
void send_data();
void manage_discover();
void manage_message();
void loop() {
/* [1] If SEND_TIMEOUT reached -> send data */
@ -89,7 +85,7 @@ void manage_discover(){
screen.printfn(0, "dsc[ %3d / %3d ]", recv.getDist(), recv.getWave());
// update features
if( !myself.update(recv.getWave(), recv.getDist()) ){
if( !myself.update(recv.getDist(), recv.getWave()) ){
screen.printfn(1, "x ");
return;
}