The access to the GPS is not consistent. The gps should be injected once in Compass and obtained from there in CompassUtil, instead of injecting the GPS twice (CompassUtil and Compass beans).
Log in to post a comment.