fixed qhy22 endpoint error could not GetImageData
add qhy21 support