Skip to content

Commit

Permalink
bitcraze/crazyflie-firmware#387: Change default radio datarate to 2M
Browse files Browse the repository at this point in the history
  • Loading branch information
ataffanel committed Jan 15, 2019
1 parent 7fa3161 commit c1b2c8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/esb.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

static bool isInit = true;

static int channel = 2;
static int channel = 80;
static int datarate = esbDatarate2M;
static int txpower = RADIO_TXPOWER_TXPOWER_0dBm;
static bool contwave = false;
Expand Down
4 changes: 2 additions & 2 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ extern int ble_init(void);
#endif

#ifndef DEFAULT_RADIO_RATE
#define DEFAULT_RADIO_RATE esbDatarate250K
#define DEFAULT_RADIO_RATE esbDatarate2M
#endif
#ifndef DEFAULT_RADIO_CHANNEL
#define DEFAULT_RADIO_CHANNEL 2
#define DEFAULT_RADIO_CHANNEL 80
#endif

static void mainloop(void);
Expand Down

0 comments on commit c1b2c8d

Please sign in to comment.