diff --git a/core/Publisher.cxx b/core/Publisher.cxx index 8617d7f..8254960 100644 --- a/core/Publisher.cxx +++ b/core/Publisher.cxx @@ -524,7 +524,7 @@ void PublisherApp::run() DEBUG("license_no " << license_no); DEBUG("stable_weight2 " << stable_weight); stable_weight2 = stable_weight; - if (stable_weight2 < stable_weight1) + if ((stable_weight1 - stable_weight2) > 45) { weigh_state = WEIGH_SEND; }