mirror of
https://github.com/BotChain-Robots/firmware.git
synced 2026-07-08 17:47:21 +02:00
Cleanup includes
This actually gained us 10% more flash space
This commit is contained in:
@@ -7,10 +7,7 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <MessagingInterface.h>
|
||||
|
||||
#include "control/IActuator.h"
|
||||
#include "control/ActuatorFactory.h"
|
||||
#include "MessagingInterface.h"
|
||||
|
||||
class LoopManager {
|
||||
public:
|
||||
|
||||
@@ -4,9 +4,7 @@
|
||||
#define DCMOTORACTUATOR_H
|
||||
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include <freertos/task.h>
|
||||
|
||||
|
||||
#include "freertos/task.h"
|
||||
#include "IActuator.h"
|
||||
|
||||
class DCMotorActuator final : public IActuator {
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
|
||||
#ifndef IACTUATOR_H
|
||||
#define IACTUATOR_H
|
||||
#include <cstdint>
|
||||
|
||||
class IActuator {
|
||||
public:
|
||||
|
||||
@@ -7,12 +7,13 @@
|
||||
#ifndef SERVO1ACTUATOR_H
|
||||
#define SERVO1ACTUATOR_H
|
||||
|
||||
#include <cstdint>
|
||||
#include "IActuator.h"
|
||||
|
||||
class Servo1Actuator final : public IActuator {
|
||||
public:
|
||||
Servo1Actuator();
|
||||
void actuate(uint8_t *cmd) override;
|
||||
void actuate(std::uint8_t *cmd) override;
|
||||
};
|
||||
|
||||
#endif //SERVO1ACTUATOR_H
|
||||
|
||||
Reference in New Issue
Block a user