Skip to content
Snippets Groups Projects
Commit e1c18787 authored by Grigoris Pavlakis's avatar Grigoris Pavlakis Committed by kongr45gpen
Browse files

Fix missing inheritance from the Service class

parent ea8fc901
No related branches found
No related tags found
No related merge requests found
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include "etl/map.h" #include "etl/map.h"
#include "etl/String.hpp" #include "etl/String.hpp"
#include "Message.hpp" #include "Message.hpp"
#include "Service.hpp"
#define FUNCMAPSIZE 128 // size of the function map in bytes (temporary, arbitrary) #define FUNCMAPSIZE 128 // size of the function map in bytes (temporary, arbitrary)
#define MAXFUNCNAMELENGTH 32 // max length of the function name (temporary, arbitrary) #define MAXFUNCNAMELENGTH 32 // max length of the function name (temporary, arbitrary)
...@@ -40,7 +41,7 @@ typedef String<MAXFUNCNAMELENGTH> functionName; ...@@ -40,7 +41,7 @@ typedef String<MAXFUNCNAMELENGTH> functionName;
typedef etl::map<functionName, void(*)(String<MAXARGLENGTH>), FUNCMAPSIZE> typedef etl::map<functionName, void(*)(String<MAXARGLENGTH>), FUNCMAPSIZE>
PointerMap; PointerMap;
class FunctionManagementService { class FunctionManagementService : public Service {
/** /**
* Map of the function names to their respective pointers. Size controlled by FUNCMAPSIZE * Map of the function names to their respective pointers. Size controlled by FUNCMAPSIZE
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment