Skip to content

Commit

Permalink
Merge pull request #202 from SumolX/new-msp-message-types
Browse files Browse the repository at this point in the history
New MSPv2 VTX Query Message Types
  • Loading branch information
ligenxxxx authored Jun 19, 2024
2 parents 0fdfb9e + fb0d032 commit 25a2f54
Show file tree
Hide file tree
Showing 5 changed files with 272 additions and 91 deletions.
2 changes: 1 addition & 1 deletion src/dm6300.c
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ uint8_t DM6300_detect(void) {
debugf("\r\ndm6300 alive");
}
#endif
return rdat != 0x18;
return (rdat != 0x18) ? 1 : 0;
}

void DM6300_Init(uint8_t ch, BWType_e bw) {
Expand Down
1 change: 1 addition & 0 deletions src/hardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ extern uint8_t RF_BW_last;
extern uint8_t BAUDRATE;
extern uint8_t SHORTCUT;

extern uint8_t cameraLost;
extern uint8_t pwr_offset;
extern uint8_t heat_protect;

Expand Down
Loading

0 comments on commit 25a2f54

Please sign in to comment.