Protected zone load debug
This commit is contained in:
parent
943a976cae
commit
e1a3c3e8ca
|
|
@ -387,7 +387,7 @@ void *ca_service(void *fc) {
|
|||
while (!facilities->exit) {
|
||||
usleep(1000*50);
|
||||
|
||||
if ( lightship_check(facilities->lightship) ) {
|
||||
if (lightship_check(facilities->lightship)) {
|
||||
rv = mk_cam(facilities, bdr->data.buf, (uint32_t *) &bdr->data.size);
|
||||
if (rv) {
|
||||
continue;
|
||||
|
|
|
|||
|
|
@ -211,6 +211,7 @@ int itss_config(void* facilities_s, char* config_file) {
|
|||
facilities->lightship->pz[i] = zone;
|
||||
++facilities->lightship->pz_len;
|
||||
++i;
|
||||
syslog_debug("[facilities] [config] loaded protection zone @ (%ld, %ld)", zone->protectedZoneLatitude, zone->protectedZoneLongitude);
|
||||
} else {
|
||||
ASN_STRUCT_FREE(asn_DEF_ProtectedCommunicationZone, zone);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue