Doug Anson / ReportDB
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();