Skip to content

Commit

Permalink
Merge pull request #864 from llange/add-missing-math-include
Browse files Browse the repository at this point in the history
missing math.h include in some vehicle modules
  • Loading branch information
dexterbg committed Apr 10, 2023
2 parents 7cff295 + 7d89cbf commit 89691a8
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
static const char *TAG = "v-bmwi3";

#include <stdio.h>
#include <math.h>
#include "vehicle_bmwi3.h"

#include "../ecu_definitions/ecu_sme_defines.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
#include "ovms_log.h"

#include <stdio.h>
#include <math.h>
#include <string.h>
#include "pcp.h"
#include "metrics_standard.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
static const char *TAG = "v-hyundaivfl";

#include <stdio.h>
#include <math.h>
#include "vehicle_hyundai_ioniqvfl.h"
#ifdef CONFIG_OVMS_COMP_WEBSERVER
#include "ovms_webserver.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

static const char *TAG = "v-mgev";

#include <math.h>
#include "vehicle_mgev.h"
#include "ovms_notify.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
static const char *TAG = "v-minise";

#include <cstdio>
#include <math.h>
#include "vehicle_minise.h"

#include "../ecu_definitions/ecu_sme_defines.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@

#include "ovms_log.h"
#include <stdio.h>
#include <math.h>
#include <string.h>
#include "pcp.h"
#include "vehicle_mitsubishi.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ static const char *TAG = "v-smarted";
#include <string>
#include <iomanip>
#include <numeric>
#include <math.h>
#include "pcp.h"
#include "ovms_events.h"
#include "metrics_standard.h"
Expand Down

0 comments on commit 89691a8

Please sign in to comment.