Commit 0e8dc635 authored by Eric Duminil's avatar Eric Duminil
Browse files

sensor_console.h only once

parent 240a18d9
#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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment