mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2026-11-17 13:11:27 +01:00
remove task from declare_taskif
This commit is contained in:
1 parent
34dd3434fe
commit
a6c1511298
4 files changed
+9
-10
No files matched your search
+2
-2
@@ -234,7 +234,7 @@ class GwApi{
|
||||
*
|
||||
*
|
||||
*/
|
||||
#define DECLARE_TASKIF_IMPL(task,type) \
|
||||
#define DECLARE_TASKIF_IMPL(type) \
|
||||
template<> \
|
||||
inline bool GwApi::TaskInterfaces::set(const type & v) {\
|
||||
return iset(__FILE__,#type,GwApi::TaskInterfaces::Ptr(new type(v))); \
|
||||
@@ -250,6 +250,6 @@ class GwApi{
|
||||
return type(*tp); \
|
||||
}
|
||||
#ifndef DECLARE_TASKIF
|
||||
#define DECLARE_TASKIF(task,type) DECLARE_TASKIF_IMPL(task,type)
|
||||
#define DECLARE_TASKIF(type) DECLARE_TASKIF_IMPL(type)
|
||||
#endif
|
||||
#endif
|
||||
Reference in new issue
Block a user