Condition review task

I also just created the task ble_task as instructed above, in fact, there was only uart_task at first

/* Notifications enabled */
uint8_t char_notification_enabled = 0;

uint8_t humidity_notification_enabled = 0;

uint8_t temperature_notification_enabled = 0;

void uart_task(void *arg)
{
for (;;)
{
if(char_notification_enabled == true)
{
/* Sample input voltage at channel 0 */
adc_single_channel_process();

xTaskNotifyGive(ble_task_handle);
xTaskNotifyGive(dk_task_handle);

adc_send_notification();
}

if(humidity_notification_enabled == true)
{
humidity_send_notification();
printf("\r\nHumidity = %.2f\r\n",DHT_read.humidity);
}

if(temperature_notification_enabled == true)
{
temperature_send_notification();
printf("\r\nTemperature = %.2f\r\n",DHT_read.temperature);
}

/* 200ms delay between scans */
vTaskDelay(pdMS_TO_TICKS(200));
}
}

I haven’t found out about the stack checking feature yet
I tried using the debugger but it doesn’t detect the error!