Fix LVGL "C" brace (#18942)
This commit is contained in:
parent
0e70d8bacb
commit
57c3b0e0b7
@ -21,10 +21,6 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" { /* C-declarations for C++ */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "../../../../inc/MarlinConfig.h"
|
#include "../../../../inc/MarlinConfig.h"
|
||||||
|
|
||||||
#include <lvgl.h>
|
#include <lvgl.h>
|
||||||
@ -125,6 +121,10 @@ extern "C" { /* C-declarations for C++ */
|
|||||||
// SD card information first addr
|
// SD card information first addr
|
||||||
#define VAR_INF_ADDR 0x000000
|
#define VAR_INF_ADDR 0x000000
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" { /* C-declarations for C++ */
|
||||||
|
#endif
|
||||||
|
|
||||||
union union32 {
|
union union32 {
|
||||||
uint8_t bytes[4];
|
uint8_t bytes[4];
|
||||||
uint32_t dwords;
|
uint32_t dwords;
|
||||||
|
Loading…
Reference in New Issue
Block a user