Skip to content

Commit

Permalink
A7105 proper buf size
Browse files Browse the repository at this point in the history
  • Loading branch information
ajjjjjjjj committed May 30, 2023
1 parent c53ec0c commit 6c390e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radio/src/targets/flysky/A7105_SPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ void A7105_WriteReg(uint8_t address, uint8_t data) {

void A7105_WriteData(uint8_t len, uint8_t channel) {
uint8_t i;
uint8_t out[41];
uint8_t out[AFHDS2A_TXPACKET_SIZE + 1];
A7105_Strobe(A7105_STANDBY);
A7105_Strobe(A7105_RST_WRPTR);

Expand Down

0 comments on commit 6c390e5

Please sign in to comment.