Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
co2ampel
ampel-firmware
Commits
0e8dc635
Commit
0e8dc635
authored
Apr 20, 2021
by
Eric Duminil
Browse files
sensor_console.h only once
parent
240a18d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
ampel-firmware/sensor_console.h
View file @
0e8dc635
#ifndef SENSOR_CONSOLE_H_INCLUDED
#define SENSOR_CONSOLE_H_INCLUDED
#include
<Arduino.h>
#include
<Arduino.h>
/** Other scripts can use this namespace, in order to define commands, via callbacks.
/** Other scripts can use this namespace, in order to define commands, via callbacks.
...
@@ -11,3 +13,5 @@ namespace sensor_console {
...
@@ -11,3 +13,5 @@ namespace sensor_console {
void
defineIntCommand
(
const
char
*
command
,
void
(
*
function
)(
int32_t
),
const
char
*
doc
);
void
defineIntCommand
(
const
char
*
command
,
void
(
*
function
)(
int32_t
),
const
char
*
doc
);
void
defineCommand
(
const
char
*
command
,
void
(
*
function
)(
void
),
const
char
*
doc
);
void
defineCommand
(
const
char
*
command
,
void
(
*
function
)(
void
),
const
char
*
doc
);
}
}
#endif
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