3319 IntItemNode* newNode = 0;
3321 newNode = (IntItemNode*)
malloc(
sizeof(IntItemNode));
3325 printf(
"no memory available while adding IntItemNode!\n");
3335 newNode->intItem = _int_item;
3336 newNode->lastTransmittedIntValue = *(_int_item->location);
3338 newNode->threshold = (_int_item->defaultDeadband < 0) ? 0.0 : (_int_item->defaultDeadband / 2);
3340 newNode->locBackup = _int_item->location;
3360 printf(
"init of %s (int) with ID %d: %d\n", newNode->intItem->name,
3361 newNode->id, newNode->lastTransmittedIntValue);
static IntItemNode * firstIntNode
static unsigned int intNodesAmount
static IntItemNode * lastIntNode