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
1 changed files with 2 additions and 1 deletions

View File

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