ecg: don't run callback if there is no data to be processed

2 jobs for !493 with schneider/ecg-streaming in 51 seconds (queued for 11 seconds)
latest merge request