Commit 31d28088 authored by Arnaud Blanchard's avatar Arnaud Blanchard

Post a channel event when blc_remove_channel_with_name is called. This...

Post a channel event when blc_remove_channel_with_name is called. This function should be merge wirh ble_channel_remove or channel->remove
parent 591fc11a
......@@ -133,6 +133,9 @@ void blc_remove_channel_with_name(char const *name){
SYSTEM_ERROR_CHECK(sem_unlink(tmp_name), -1, "Unlinking sem_new_data '%s' for blc_channel '%s'", tmp_name, name);
sprintf(tmp_name, "blc_channel%d_sem_ack_data0", info.id);
SYSTEM_ERROR_CHECK(sem_unlink(tmp_name), -1, "Unlinking sem_ack_data '%s' for blc_channel '%s'", tmp_name, name);
blc_channel_post_event();
}
// Envoie un message d'erreur avec name_of_file, name_of_function, number_of_line et affiche le message formate avec les parametres variables. Puis exit le programme avec le parametre EXIT_FAILURE. To be used with EXIT_ON_ERROR.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment