The order preference in flash_driver would evaluate ! before & but I think checking the bit first is what was intended