mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-21 23:44:48 +08:00
change to cmath by default
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
#include "utils.hpp"
|
||||
|
||||
#include "cmsis_os.h"
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <array>
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <board.h>
|
||||
|
||||
#include <cmsis_os.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include "odrive_main.h"
|
||||
#include "utils.hpp"
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
#include <utils.hpp>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <float.h>
|
||||
#include <cmsis_os.h>
|
||||
#include <board.h>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#define __UTILS_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
/**
|
||||
* @brief Flash size register address
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
#include <doctest.h>
|
||||
#include <limits.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <iostream>
|
||||
#include <random>
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ see protocol.md for the protocol specification
|
||||
|
||||
#include <functional>
|
||||
#include <limits>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
//#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
Reference in New Issue
Block a user