Guillermo Stedile / NAVDATA

Dependents:   SNOCC_V1 SNOCC_V2

Revision:
9:b4232b5aa4ed
Parent:
8:e105a233d4b1
Child:
10:45e3c7f30950
--- a/NAVDATA.cpp	Mon Apr 17 12:35:29 2017 +0000
+++ b/NAVDATA.cpp	Sun Apr 23 18:27:51 2017 +0000
@@ -56,7 +56,7 @@
     this->LAST_NAV_DATA[consumption_i]=this->LAST_NAV_DATA[consumption_f];
     this->LAST_NAV_DATA[consumption_f]=c/Ksen;
     this->LAST_NAV_DATA[consumption_p]=this->LAST_NAV_DATA[consumption_f]-this->LAST_NAV_DATA[consumption_i];         // Consumo en litros del período.
-    this->LAST_NAV_DATA[cons_interpolated]=0; // Valor interpolado? 0-> real ; 1-> interpolated; -1-> initial padding
+    this->LAST_NAV_DATA[cons_interpolated]=0;                   // Valor interpolado? 0-> real ; 1->interpolated; 2->smoothed; -1-> initial padding
     
     if (this->LAST_NAV_DATA[distance_p] > 0) this->LAST_NAV_DATA[cons_mile_p]=this->LAST_NAV_DATA[consumption_p]/this->LAST_NAV_DATA[distance_p];  //   Consumo en litros por milla nautica.
     else this->LAST_NAV_DATA[cons_mile_p]= -1;                                                                     // Variable no mensurable (-1)