Skip to content

Commit

Permalink
[modules] baro_amsys: fix for DT to match BARO_READ_PERIODIC_PERIOD
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasMue committed Aug 9, 2013
1 parent 3e1d23d commit 80bfc56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sw/airborne/modules/sensors/baro_amsys.h
Expand Up @@ -28,7 +28,7 @@
#include "std.h"
#include "mcu_periph/i2c.h"

#define BARO_AMSYS_DT 0.05
#define BARO_AMSYS_DT BARO_AMSYS_READ_PERIODIC_PERIOD

extern uint16_t baro_amsys_adc;
// extern float baro_amsys_offset;
Expand Down
2 changes: 1 addition & 1 deletion sw/airborne/subsystems/ins/ins_alt_float.h
Expand Up @@ -33,7 +33,7 @@
#include <inttypes.h>
#include "std.h"
#include "state.h"

#include "generated/modules.h"

#if USE_BAROMETER
#ifdef BARO_MS5534A
Expand Down

0 comments on commit 80bfc56

Please sign in to comment.