more logging around pump actions

This commit is contained in:
Morgan 'ARR\!' Allen 2021-09-22 18:54:49 -07:00
parent b113a70577
commit 3d9a9c530c

View file

@ -181,9 +181,10 @@ static int svc_access_system(uint16_t conn_handle, uint16_t attr_handle, struct
switch(uuid16) {
case CHAR_POUR:
if(value == 1) {
ESP_LOGI(TAG, "starting pump");
ESP_LOGI(TAG, "starting pumps");
pumps_run();
} else {
ESP_LOGI(TAG, "stoping pumps");
pumps_stop();
}
break;