Use new style include

pull/107/head
Joakim Plate 2021-11-12 17:00:07 +01:00
parent 311977e47a
commit a4d75c3cc4
4 changed files with 3 additions and 7 deletions

View File

@ -3,7 +3,7 @@
* LICENSE file in the project root for full license information
*/
#include <kern.h>
#include <kern/kern.h>
#include "esc.h"
#include "esc_hw.h"
#include "ecat_slv.h"

View File

@ -10,7 +10,7 @@
* Function to read and write commands to the ESC. Used to read/write ESC
* registers and memory.
*/
#include <kern.h>
#include <kern/kern.h>
#include <bsp.h>
#include <xmc4.h>
#include <eru.h>

View File

@ -11,7 +11,7 @@
#ifndef __esc_hw__
#define __esc_hw__
#include <kern.h>
#include <kern/kern.h>
/* ================================================================================ */
/* ================ ECAT [ECAT0] ================ */
/* ================================================================================ */

View File

@ -34,11 +34,7 @@ extern "C"
#define CC_PACKED __attribute__((packed))
#define CC_ALIGNED(n) __attribute__((aligned (n)))
#ifdef __rtk__
#define CC_ASSERT(exp) ASSERT (exp)
#else
#define CC_ASSERT(exp) assert (exp)
#endif
#define CC_STATIC_ASSERT(exp) _Static_assert (exp, "")
#define CC_DEPRECATED __attribute__((deprecated))