Skip to content

Commit

Permalink
Merge pull request #92 from bitcraze/kricharsson/cs2-problem
Browse files Browse the repository at this point in the history
Fix for Crazyswarm2 problem
  • Loading branch information
krichardsson committed Nov 13, 2023
2 parents 8a6e189 + a8742a3 commit bed1d29
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -639,10 +639,10 @@ static void handleBootloaderCmd(struct esbPacket_s *packet)
static void disableBle() {
#ifdef BLE
if (bleEnabled) {
sd_softdevice_disable();
esbInit();
sd_softdevice_disable();
bleEnabled = 0;
esbInit();
}
#endif

bleEnabled = 0;
bleEnabled = 0;
}

0 comments on commit bed1d29

Please sign in to comment.