Rev 387 | Rev 389 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 387 | Rev 388 | ||
---|---|---|---|
Line 723... | Line 723... | ||
723 | write_number_s(12, 3, debugData.Analog[0]); // AngleNick |
723 | write_number_s(12, 3, debugData.Analog[0]); // AngleNick |
724 | write_number_s(12, 4, debugData.Analog[1]); // AngleRoll |
724 | write_number_s(12, 4, debugData.Analog[1]); // AngleRoll |
725 | write_number_s(12, 5, debugData.Analog[5]); // Height |
725 | write_number_s(12, 5, debugData.Analog[5]); // Height |
726 | write_number_s(12, 6, debugData.Analog[9]); // Voltage |
726 | write_number_s(12, 6, debugData.Analog[9]); // Voltage |
727 | write_number_s(12, 7, debugData.Analog[10]);// RC Signal |
727 | write_number_s(12, 7, debugData.Analog[10]);// RC Signal |
728 | write_number_s(12, 8, debugData.Analog[11]);// Gyro compass*/ |
728 | write_number_s(12, 8, debugData.Analog[11]);// Gyro compass |
- | 729 | seconds_since_last_data = 0;*/ |
|
729 | } else if (rxd_buffer[2] == 'O') { // NC OSD Data |
730 | } else if (rxd_buffer[2] == 'O') { // NC OSD Data |
730 | Decode64(); |
731 | Decode64(); |
731 | naviData = *((NaviData_t*) pRxData); |
732 | naviData = *((NaviData_t*) pRxData); |
Line 732... | Line 733... | ||
732 | 733 | ||
Line 842... | Line 843... | ||
842 | } |
843 | } |
843 | if (naviData.UBat < min_UBat) min_UBat = naviData.UBat; |
844 | if (naviData.UBat < min_UBat) min_UBat = naviData.UBat; |
844 | if (naviData.FlyingTime > max_FlyingTime) max_FlyingTime = naviData.FlyingTime; |
845 | if (naviData.FlyingTime > max_FlyingTime) max_FlyingTime = naviData.FlyingTime; |
Line 845... | Line 846... | ||
845 | 846 | ||
- | 847 | old_MKFlags = naviData.MKFlags; |
|
846 | old_MKFlags = naviData.MKFlags; |
848 | seconds_since_last_data = 0; |
847 | } |
849 | } |
848 | } |
- | |
849 | seconds_since_last_data = 0; |
850 | } |
850 | rxd_buffer_locked = 0; |
851 | rxd_buffer_locked = 0; |
851 | } |
852 | } |
852 | // handle keypress |
853 | // handle keypress |
853 | if (s1_pressed()) { |
854 | if (s1_pressed()) { |