mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/rtos2-utils.git
synced 2025-06-10 01:55:59 +00:00
Move C API to separate folder
This commit is contained in:
parent
ecacb923f2
commit
cccf24ae59
@ -2,8 +2,8 @@
|
||||
* @file
|
||||
* @brief CAN driver message request types for use in C code.
|
||||
*/
|
||||
#ifndef STA_RTOS_SYSTEM_CAN_MSG_H
|
||||
#define STA_RTOS_SYSTEM_CAN_MSG_H
|
||||
#ifndef STA_RTOS_C_API_CAN_MSG_H
|
||||
#define STA_RTOS_C_API_CAN_MSG_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
@ -46,4 +46,4 @@ struct CanSysMsg
|
||||
};
|
||||
|
||||
|
||||
#endif // STA_RTOS_SYSTEM_CAN_MSG_H
|
||||
#endif // STA_RTOS_C_API_CAN_MSG_H
|
22
include/sta/rtos/c_api/startup.h
Normal file
22
include/sta/rtos/c_api/startup.h
Normal file
@ -0,0 +1,22 @@
|
||||
#ifndef STA_RTOS_C_API_STARTUP_H
|
||||
#define STA_RTOS_C_API_STARTUP_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
/**
|
||||
* @brief
|
||||
*
|
||||
* @param arg Default task argument
|
||||
*/
|
||||
void startALPAKA(void * arg);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif // STA_RTOS_C_API_STARTUP_H
|
@ -29,7 +29,7 @@
|
||||
|
||||
|
||||
#include <sta/can/controller.hpp>
|
||||
#include <sta/rtos/system/can_msg.h>
|
||||
#include <sta/rtos/c_api/can_msg.h>
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user