Tweaked frame counting

Prevent frame counting if dataFeedbackPin is stuck low.