Skip to content

Commit

Permalink
Update fpv_video0.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Sep 1, 2024
1 parent d29d532 commit a9a19c7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -290,14 +290,14 @@ static int video_decode_test(FILE* in) {
// X20 auto detection
if(!air_unit_discovery_finished){
const int x20_check=check_for_x20(buf->pBuffer,data_len);
if(x20_check==0){
if(x20_check==2){
// We have an x20
configure_x20(buf);
air_unit_discovery_finished= true;
insert_eof= true;
// We called configure_x20 which gives the buffer back
continue;
}else if(x20_check==2){
}else if(x20_check==1){
// We have no x20 (definitely)
air_unit_discovery_finished= true;
}else{
Expand Down

0 comments on commit a9a19c7

Please sign in to comment.