Skip to content

Commit 3c38f74

Browse files
committed
Fix clang auto-ordering issue
1 parent fc168ef commit 3c38f74

File tree

1 file changed

+5
-2
lines changed
  • FprimeZephyrReference/ReferenceDeployment

1 file changed

+5
-2
lines changed

FprimeZephyrReference/ReferenceDeployment/Main.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@
44
//
55
// ======================================================================
66
// Used to access topology functions
7-
#include <zephyr/kernel.h>
8-
#include <zephyr/sys/printk.h>
7+
// clang-format off
8+
// Keep the includes in this order for Zephyr
99
#include <FprimeZephyrReference/ReferenceDeployment/Top/ReferenceDeploymentTopology.hpp>
10+
#include <zephyr/sys/printk.h>
11+
#include <zephyr/kernel.h>
12+
// clang-format on
1013

1114
const struct device* serial = DEVICE_DT_GET(DT_NODELABEL(cdc_acm_uart0));
1215

0 commit comments

Comments
 (0)