Skip to content

Commit

Permalink
nrf_peripheral distinction
Browse files Browse the repository at this point in the history
  • Loading branch information
badcoffee committed Apr 5, 2017
1 parent 482fa88 commit 2468fe4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app_mpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "nrf_gpio.h"
#include "nrf_drv_mpu.h"
#include "nrf_error.h"
#include "nrf52832_peripherals.h"
#include "nrf_peripherals.h"



Expand Down
5 changes: 3 additions & 2 deletions app_mpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@

#include <stdbool.h>
#include <stdint.h>
#include "nrf52832_peripherals.h"

#include "nrf_peripherals.h"

#if defined(MPU60x0)
#include "mpu60x0_register_map.h"
Expand Down Expand Up @@ -343,7 +344,7 @@ uint32_t mpu_config_ff_detection(uint16_t mg, uint8_t duration);
*/


#if (defined(MPU9150) || defined(MPU9255)) && (TWI_COUNT >= 1) // Magnetometer only works with TWI so check if TWI is enabled
#if (defined(MPU9150) || defined(MPU9255)) && (MPU_USES_TWI) // Magnetometer only works with TWI so check if TWI is enabled

/**@brief Enum defining possible magnetometer operating modes */
enum magn_op_mode {
Expand Down

0 comments on commit 2468fe4

Please sign in to comment.