git-svn-id: svn://db.shs.com.ru/pip@199 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2016-05-16 17:24:07 +00:00
parent 16d92658bf
commit c09c7f486a

View File

@@ -173,7 +173,7 @@ void PIDiagnostics::changeDisconnectTimeout(float disct) {
// if (disct != disconn_) { // if (disct != disconn_) {
disconn_ = piMaxf(disct, interval() / 1000.f); disconn_ = piMaxf(disct, interval() / 1000.f);
int hist_size = piMaxi(int(disconn_ * 1000. / interval()), 1); int hist_size = piMaxi(int(disconn_ * 1000. / interval()), 1);
piCoutObj << hist_size << interval(); //piCoutObj << hist_size << interval();
history_rec.resize(hist_size); history_rec.resize(hist_size);
history_send.resize(hist_size); history_send.resize(hist_size);
// } // }