correct static boat data names

This commit is contained in:
andreas 2022-03-01 18:16:00 +01:00
parent ba7bf00274
commit 8c083f38c9
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ public:
virtual ~GwBoatItemNameProvider() {}
};
#define GWBOATDATA(type,name,time,fmt) \
GWSC(_##name); \
static constexpr const __FlashStringHelper* _##name=F(#name); \
GwBoatItem<type> *name=new GwBoatItem<type>(F(#name),GwBoatItemBase::fmt,time,&values) ;
#define GWSPECBOATDATA(clazz,name,time,fmt) \
clazz *name=new clazz(F(#name),GwBoatItemBase::fmt,time,&values) ;