land detector: reverted scientific notation unwanted doubles

This commit is contained in:
Matthias Grob
2016-12-26 15:36:43 +01:00
committed by Lorenz Meier
parent 03d7b65299
commit b79e4ab506
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -127,10 +127,10 @@ protected:
static constexpr uint32_t LAND_DETECTOR_UPDATE_RATE_HZ = 50;
/* Time in us that landing conditions have to hold before triggering a land. */
static constexpr uint64_t LAND_DETECTOR_TRIGGER_TIME_US = 2e6;
static constexpr uint64_t LAND_DETECTOR_TRIGGER_TIME_US = 2000000;
/* Time interval in us in which wider acceptance thresholds are used after arming. */
static constexpr uint64_t LAND_DETECTOR_ARM_PHASE_TIME_US = 2e6;
static constexpr uint64_t LAND_DETECTOR_ARM_PHASE_TIME_US = 2000000;
orb_advert_t _landDetectedPub;
struct vehicle_land_detected_s _landDetected;