Buildsystem updates and libmaple bump
Use single counter for each sensor