command: Add command.h file to make importing Klipper code easier

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor authored and Eric Callahan committed 2022-05-13 06:16:08 -04:00
1 parent db6a9b4d96
commit 83ecbcc01d
6 files changed
+26 -21

No files matched your search

+4
View File
@@ -8,6 +8,10 @@
#include "autoconf.h" // CONFIG_MCU
#include "board/internal.h" // SysTick
#include "board/irq.h" // irq_disable
#include "command.h" // DECL_CONSTANT_STR
// Export MCU type
DECL_CONSTANT_STR("MCU", CONFIG_MCU);
// Symbols created by armcm_link.lds.S linker script
extern uint32_t _data_start, _data_end, _data_flash;
+1
View File
@@ -10,6 +10,7 @@
#include "byteorder.h" // cpu_to_le32
#include "canbus.h" // canbus_set_uuid
#include "canboot_main.h"
#include "command.h" // DECL_TASK
#include "sched.h" // sched_wake_task
static uint32_t canbus_assigned_id;