diff --git a/shroom-controller/main/main.c b/shroom-controller/main/main.c index 0dc06d0..70fe3d5 100644 --- a/shroom-controller/main/main.c +++ b/shroom-controller/main/main.c @@ -181,12 +181,12 @@ void main_task(void* args) { } ESP_LOGE(TAG, "executing command..."); - rc = libssh2_channel_exec(channel, "./runtest.sh"); + rc = libssh2_channel_exec(channel, "./runtest"); if (rc) { ESP_LOGE(TAG, "could not open channel"); } - //libssh2_session_set_timeout(session, 20); + libssh2_session_set_timeout(session, 100); ESP_LOGE(TAG, "waiting for results..."); while (!libssh2_channel_eof(channel)) { ESP_LOGE(TAG, "waiting for read loop");