mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-14 06:23:07 +01:00
remove task from declare_taskif
This commit is contained in:
@@ -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