Use portable paths (that work on Win & Linux) (#1131)

This commit is contained in:
tx_haggis 2023-11-06 01:50:21 -06:00 committed by GitHub
parent 9bbd16c81b
commit 53d18accf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

@ -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));

View File

@ -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]))