File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11/*
2- This file is part of the Arduino_LSM6DSOX library.
2+ This file is part of the Arduino_MKRIoTCarrier library.
33 Copyright (c) 2021 Arduino SA. All rights reserved.
44
55 This library is free software; you can redistribute it and/or
2222// sets function called on slave write
2323IMUClass::IMUClass ( getRev_t getRevision)
2424{
25- // If board_revision = 0, IMU module is LSM6DSOX, otherwise is LSM6DS3
2625 board_revision = getRevision;
2726}
2827
@@ -33,6 +32,7 @@ IMUClass::~IMUClass()
3332int IMUClass::begin ()
3433{
3534 _revision = board_revision ();
35+ // If board_revision = BOARD_REVISION_2, IMU module is LSM6DSOX, otherwise is LSM6DS3
3636 if (_revision == BOARD_REVISION_2) {
3737 LSM6DSOX = new LSM6DSOXClass (Wire, LSM6DSOX_ADDRESS);
3838 if (LSM6DSOX == nullptr ) return 0 ;
You can’t perform that action at this time.
0 commit comments