#define LOCATION_UPDATE_INTERVAL_MIN 1
#define LOCATION_UPDATE_INTERVAL_MAX 120
#define LOCATION_UPDATE_INTERVAL_DEFAULT LOCATION_UPDATE_INTERVAL_MIN
-#define LOCATION_BATCH_PERIOD_MIN 120
-#define LOCATION_BATCH_PERIOD_MAX 600
-#define LOCATION_BATCH_PERIOD_DEFAULT LOCATION_BATCH_PERIOD_MIN
+#define LOCATION_BATCH_INTERVAL_MAX 255
+#define LOCATION_BATCH_PERIOD_MIN 1
+#define LOCATION_BATCH_PERIOD_MAX 60000
+#define LOCATION_BATCH_PERIOD_DEFAULT 150
#define LOCATION_MIN_INTERVAL_MIN 1
#define LOCATION_MIN_INTERVAL_MAX 120
#define LOCATION_MIN_INTERVAL_DEFAULT LOCATION_MIN_INTERVAL_MIN
#define setting_retval_if_fail(path) {\
int val = location_setting_get_int(path);\
- if (val == -1){\
+ if (val == -1) {\
return LOCATION_ERROR_UNKNOWN;\
} else if (val == 0) {\
return LOCATION_ERROR_SETTING_OFF;\
- }\
+ } \
}
/* For test