mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/rtos2-utils.git
synced 2025-08-01 17:51:55 +00:00
CanBus Init
This commit is contained in:
parent
481197d752
commit
a66565e984
@ -7,14 +7,18 @@
|
||||
#ifdef STA_RTOS_CAN_BUS_ENABLE
|
||||
|
||||
#include <sta/debug/assert.hpp>
|
||||
#include <sta/debug/debug.hpp>
|
||||
#include <sta/bus/can/subscribable.hpp>
|
||||
#include <sta/lang.hpp>
|
||||
#include <sta/proto/isotp/transmitter.hpp>
|
||||
#include <sta/proto/isotp/receiver.hpp>
|
||||
#include <sta/rtos/defs.hpp>
|
||||
#include <sta/rtos/system/can_bus.hpp>
|
||||
#include <sta/rtos/system/events.hpp>
|
||||
#include <sta/devices/stm32/hal.hpp>
|
||||
#include <sta/rtos/system/events.hpp>
|
||||
|
||||
#include <sta/rtos/system/can_bus.hpp>
|
||||
#include <sta/tacos/can_bus.hpp>
|
||||
|
||||
#include <cmsis_os2.h>
|
||||
#include <FreeRTOS.h>
|
||||
@ -25,9 +29,10 @@ namespace sta
|
||||
{
|
||||
namespace rtos
|
||||
{
|
||||
|
||||
void initCanBus()
|
||||
{
|
||||
tacos::Canbus::instance(getCanController()).start()
|
||||
sta::tacos::CanBus::instance(getCanController())->start();
|
||||
}
|
||||
|
||||
} // namespace rtos
|
||||
@ -170,7 +175,7 @@ namespace sta
|
||||
}
|
||||
|
||||
|
||||
inline void AlpakaCanBus::processTx()
|
||||
void AlpakaCanBus::processTx()
|
||||
{
|
||||
tx_.process();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user