Fix bug with wrong cam sensor error threshold