improved Igtimi logging in case HDG/HDGM are missing

This commit is contained in:
Axel Uhl
2015-03-25 13:36:15 +01:00
parent f229b5a127
commit f04fb321a2
@@ -157,7 +157,8 @@ public class IgtimiWindReceiver implements BulkFixReceiver {
notifyListeners(wind, aws.getSensor().getDeviceSerialNumber());
} else {
if (!loggedWindFixGenerationProblem) {
logger.info("Not enough information to build a Wind fix out of data provided. AWS received but most probably HDG or HDGM not received (yet) - check your compass.");
logger.info("Not enough information to build a Wind fix out of data provided by sensor "+aws.getSensor()+
". AWS received but most probably HDG or HDGM not received (yet) - check your compass.");
loggedWindFixGenerationProblem = true;
}
}