瀏覽代碼

Fixes for -Wundef

thanks Willy-JL
MX 1 年之前
父節點
當前提交
f2ea13cebd
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      interfaces/endianness.h

+ 2 - 0
interfaces/endianness.h

@@ -5,6 +5,8 @@
 #ifndef FLIPPERZERO_FIRMWARE_ENDIANNESS_H
 #define FLIPPERZERO_FIRMWARE_ENDIANNESS_H
 
+#include <machine/endian.h>
+
 inline static void store16(uint8_t* b, uint16_t i) {
     memcpy(b, &i, 2);
 }