File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313#define CORE_SETTINGS_H_
1414#include <stdbool.h>
1515#include <stdint.h>
16+ #ifdef __cplusplus
1617#ifdef MODEL_Pinecilv2
1718// Required settings reset for PR #1916
1819#define SETTINGSVERSION (0x55AB) // This number is frozen, do not edit
@@ -89,7 +90,6 @@ typedef struct {
8990 const uint16_t defaultValue ; // Default vaue after reset
9091} SettingConstants ;
9192extern const SettingConstants settingsConstants [(int )SettingsOptions ::SettingsOptionsLength ];
92-
9393/*
9494 * This struct must be a multiple of 2 bytes as it is saved / restored from
9595 * flash in uint16_t chunks
@@ -200,4 +200,6 @@ const char *lookupTipName(); // Get the name string for the current soldering ti
200200#ifdef BLE_ENABLED
201201void setBluetoothLE (void );
202202#endif /* BLE_ENABLED */
203+ #endif // c++ guard
204+
203205#endif /* SETTINGS_H_ */
You can’t perform that action at this time.
0 commit comments