Added linear camera firmware, fixed bug