Commit dcd7dfe0faf4b9fcbf9e3da51dd41e1ff451cb98

Authored by Arnaud Blanchard
1 parent 58ab0be4

Fix time problem on 32bits systems (raspberry pi)

Showing 1 changed file with 1 additions and 1 deletions
@@ -73,7 +73,7 @@ int main(int argc, char** argv){ @@ -73,7 +73,7 @@ int main(int argc, char** argv){
73 number=strtod(number_str, NULL); 73 number=strtod(number_str, NULL);
74 74
75 array_def_with_tsv_file_first_line(&channel, filename, time_str); 75 array_def_with_tsv_file_first_line(&channel, filename, time_str);
76 - channel.create_or_open(channel_name, BLC_CHANNEL_READ); 76 + channel.create_or_open(channel_name, BLC_CHANNEL_WRITE);
77 blc_loop_try_add_posting_semaphore(channel.sem_ack_data); 77 blc_loop_try_add_posting_semaphore(channel.sem_ack_data);
78 78
79 SYSTEM_ERROR_CHECK(file=fopen(filename, "r"), NULL, "Opening '%s'", filename); 79 SYSTEM_ERROR_CHECK(file=fopen(filename, "r"), NULL, "Opening '%s'", filename);