Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stefan Haun
firmware
Commits
a60cbd75
Verified
Commit
a60cbd75
authored
Aug 31, 2019
by
Rahix
Browse files
style(config): Fix white-space errors
Signed-off-by:
Rahix
<
rahix@rahix.de
>
parent
be441873
Changes
1
Hide whitespace changes
Inline
Side-by-side
epicardium/modules/config.c
View file @
a60cbd75
...
@@ -31,17 +31,17 @@ struct config_option {
...
@@ -31,17 +31,17 @@ struct config_option {
static
struct
config_option
s_options
[
_EpicOptionCount
]
=
{
static
struct
config_option
s_options
[
_EpicOptionCount
]
=
{
/* clang-format off */
/* clang-format off */
#define INIT_Boolean(v)
{ .boolean = (v) }
#define INIT_Boolean(v) { .boolean = (v) }
#define INIT_Int(v)
{ .integer = (v) }
#define INIT_Int(v) { .integer = (v) }
#define INIT_Float(v)
{ .floating_point = (v) }
#define INIT_Float(v) { .floating_point = (v) }
#define INIT_String(v)
{ .string = (v) }
#define INIT_String(v) { .string = (v) }
#define INIT_(tp, v)
INIT_ ## tp (v)
#define INIT_(tp, v) INIT_ ## tp (v)
#define INIT(tp, v)
INIT_ (tp, v)
#define INIT(tp, v) INIT_ (tp, v)
#define CARD10_SETTING(identifier, spelling, tp, default_value) \
#define CARD10_SETTING(identifier, spelling, tp, default_value)
\
[Option ## identifier] = { .name = (spelling), \
[Option ## identifier] = { .name = (spelling), \
.type = OptionType_ ## tp, \
.type = OptionType_ ## tp, \
.value = INIT(tp, (default_value)) },
.value = INIT(tp, (default_value)) },
#include
"modules/config.def"
#include
"modules/config.def"
/* clang-format on */
/* clang-format on */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment