Skip to content

Commit e62f8eb

Browse files
Fix compilation: #if PARAM_HAVE_TIMESTAMP -> #ifdef PARAM_HAVE_TIMESTAMP
1 parent 14a6b0a commit e62f8eb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/param/list/param_list.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ typedef struct param_heap_s {
430430
uint8_t *buffer;
431431
};
432432
uint16_t node;
433-
#if PARAM_HAVE_TIMESTAMP
433+
#ifdef PARAM_HAVE_TIMESTAMP
434434
csp_timestamp_t timestamp;
435435
#endif
436436
char name[36];
@@ -616,7 +616,7 @@ param_t * param_list_create_remote(int id, int node, int type, uint32_t mask, in
616616
param->callback = NULL;
617617
param->name = param_new_heap->name;
618618
param->addr = param_new_heap->buffer;
619-
#if PARAM_HAVE_TIMESTAMP
619+
#ifdef PARAM_HAVE_TIMESTAMP
620620
param->timestamp = &param_new_heap->timestamp;
621621
#endif
622622
param->unit = param_new_heap->unit;
@@ -828,4 +828,4 @@ void param_list_save_wildcard(const char * const filename, int node, int skip_no
828828

829829
void param_list_save(const char * const filename, int node, int skip_node) {
830830
param_list_save_wildcard(filename, node, skip_node, NULL);
831-
}
831+
}

0 commit comments

Comments
 (0)