Use portable paths (that work on Win & Linux) (#1131)
This commit is contained in:
parent
9bbd16c81b
commit
53d18accf8
|
@ -2,7 +2,7 @@
|
||||||
#include "test_fp_support.h"
|
#include "test_fp_support.h"
|
||||||
#include "maths.h"
|
#include "maths.h"
|
||||||
#include "crankMaths.h"
|
#include "crankMaths.h"
|
||||||
#include "..\timer.hpp"
|
#include "../timer.hpp"
|
||||||
|
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#include <unity.h>
|
#include <unity.h>
|
||||||
#include "test_fp_support.h"
|
#include "test_fp_support.h"
|
||||||
#include "maths.h"
|
#include "maths.h"
|
||||||
#include "..\timer.hpp"
|
#include "../timer.hpp"
|
||||||
|
|
||||||
static void test_percent(uint8_t percent, uint16_t value) {
|
static void test_percent(uint8_t percent, uint16_t value) {
|
||||||
assert_rounded_div((uint32_t)percent*value, 100, percentage(percent, value));
|
assert_rounded_div((uint32_t)percent*value, 100, percentage(percent, value));
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#include "test_calcs_common.h"
|
#include "test_calcs_common.h"
|
||||||
#include "schedule_calcs.h"
|
#include "schedule_calcs.h"
|
||||||
#include "crankMaths.h"
|
#include "crankMaths.h"
|
||||||
#include "Decoders.h"
|
#include "decoders.h"
|
||||||
|
|
||||||
#define _countof(x) (sizeof(x) / sizeof (x[0]))
|
#define _countof(x) (sizeof(x) / sizeof (x[0]))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue