refactor - change constants

This commit is contained in:
2023-01-18 10:33:47 +01:00
parent 801a474b49
commit 97495338d7
9 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ void Navigation::init(Route* route) {
Wire.write(0x0b);
Wire.write(0x01);
Wire.endTransmission();
this->compass->setMode(0x01,0x04,0x10,0X00);
this->compass->setMode(0x01,0x0C,0x10,0X00);
}
Navigation::~Navigation() {
+1 -1
View File
@@ -29,7 +29,7 @@
*
*/
#define MIN_DISTANCE_BETWEEN_POINTS 0.1
#define AZIMUTH_UPDATE_DELAY 200
#define AZIMUTH_UPDATE_DELAY 20
/**
* @brief This struct inherits the result of the navigation