use cmath instead of math.h
This commit is contained in:
parent
803abd05a7
commit
385a9747f6
@ -4,7 +4,7 @@
|
||||
#include <driver/mcpwm.h>
|
||||
#include <esp_log.h>
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
namespace ugv {
|
||||
namespace io {
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include <driver/uart.h>
|
||||
#include <esp_log.h>
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
constexpr float M_PI = 3.1415926535897932384626433832795;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user