InertialSensor: use AP_HAL progmem

This commit is contained in:
Andrew Tridgell 2012-12-13 08:57:34 +11:00
parent 7582c882e6
commit 2c1682f310
2 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,5 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include <avr/interrupt.h>
#include <AP_HAL.h>
#include "AP_InertialSensor_MPU6000.h"

View File

@ -6,6 +6,7 @@
#include <stdint.h>
#include <AP_HAL.h>
#include <AP_Math.h>
#include <AP_Progmem.h>
#include "AP_InertialSensor.h"
#define MPU6000_CS_PIN 53 // APM pin connected to mpu6000's chip select pin