1
0
mirror of https://github.com/stargieg/bacnet-stack synced 2025-10-26 23:35:52 +08:00

reduce MAX_NOTIFICATION_CLASSES and MAX_TREND_LOGS

This commit is contained in:
Patrick Grimm 2014-05-21 22:31:50 +02:00
parent 6f005c995a
commit 429f8dde05
2 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@
/* number of demo objects */
#ifndef MAX_NOTIFICATION_CLASSES
#define MAX_NOTIFICATION_CLASSES 65535
#define MAX_NOTIFICATION_CLASSES 1024
#endif
unsigned max_notificaton_classes_int = 0;

View File

@ -53,7 +53,7 @@
/* number of demo objects */
#ifndef MAX_TREND_LOGS
#define MAX_TREND_LOGS 65535
#define MAX_TREND_LOGS 1024
#endif
unsigned max_trend_logs_int = 0;
@ -2181,7 +2181,7 @@ void trend_log_timer(
time_t tNow = 0;
/* unused parameter */
uSeconds = uSeconds;
//uSeconds = uSeconds;
/* use OS to get the current time */
tNow = time(NULL);
for (iCount = 0; iCount < max_trend_logs_int; iCount++) {