minor cleanup

removed bitmasking warning in bps.hpp
removed unnecessary flags
renamed crc-8 function