Browse Source

Comment debug message

Georgi Chorbadzhiyski 6 years ago
parent
commit
c33fabcced
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      camd.c

+ 1
- 1
camd.c View File

241
 struct camd_msg *camd_msg_alloc(enum msg_type msg_type, uint16_t ca_id, uint16_t service_id, uint8_t *data, int data_len) {
241
 struct camd_msg *camd_msg_alloc(enum msg_type msg_type, uint16_t ca_id, uint16_t service_id, uint8_t *data, int data_len) {
242
 	struct camd_msg *c = calloc(1, sizeof(struct camd_msg));
242
 	struct camd_msg *c = calloc(1, sizeof(struct camd_msg));
243
 	if (data_len > (int)sizeof(c->data)) {
243
 	if (data_len > (int)sizeof(c->data)) {
244
-		ts_LOGf("ERROR: Tried to allocate too big CAMD message: %d max: %lu\n", data_len, sizeof(c->data));
244
+//		ts_LOGf("ERROR: Tried to allocate too big CAMD message: %d max: %lu\n", data_len, sizeof(c->data));
245
 		return NULL;
245
 		return NULL;
246
 	}
246
 	}
247
 	c->type       = msg_type;
247
 	c->type       = msg_type;

Loading…
Cancel
Save