Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: WidgetDB.h
- Revision:
- 2:5a7b822b54d7
- Parent:
- 0:6a368cae1bdb
--- a/WidgetDB.h Wed Aug 27 20:29:53 2014 +0000 +++ b/WidgetDB.h Thu Aug 28 21:06:21 2014 +0000 @@ -24,14 +24,14 @@ // trivial widget db entry... typedef struct { int rfid; - char name[MAX_NAME_LENGTH+1]; - char description[MAX_DESCRIPTION_LENGTH+1]; + char name[DB_MAX_NAME_LENGTH+1]; + char description[DB_MAX_DESCRIPTION_LENGTH+1]; } WidgetEntry; // trivial database of widgets... class WidgetDB { private: - WidgetEntry m_db[MAX_NUM_WIDGETS]; + WidgetEntry m_db[DB_MAX_NUM_WIDGETS]; public: WidgetDB();