Skip to content

Commit

Permalink
hybrids working both ways; adjusted timing to platform
Browse files Browse the repository at this point in the history
  • Loading branch information
abiri committed Oct 16, 2018
1 parent c52bad6 commit 9e6cec2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions software/module/firmware/glossy.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@

#define LWB_SLOT_US 1e4

#define LWB_SLOTS_PER_RANGE 8
#define LWB_SLOTS_PER_RANGE 10

#define MAX_SCHED_TAGS 10
#define GLOSSY_MAX_DEPTH 10
#define GLOSSY_MAX_DEPTH 5
#define TAG_SCHED_TIMEOUT 60

#ifdef GLOSSY_PER_TEST
Expand All @@ -23,7 +23,7 @@
#define GLOSSY_UPDATE_INTERVAL_US 1e6
#endif

#define GLOSSY_FLOOD_TIMESLOT_US 1e3
#define GLOSSY_FLOOD_TIMESLOT_US 2e3

#define GLOSSY_UPDATE_INTERVAL_DW (DW_DELAY_FROM_US(GLOSSY_UPDATE_INTERVAL_US) & 0xFFFFFFFE)

Expand Down
2 changes: 1 addition & 1 deletion software/module/firmware/module_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#define DW1000_DATA_RATE DWT_BR_6M8
#define DW1000_SMART_PWR_EN 1
#define DW1000_SFD_TO (64 + 1 + 8 - 8) /* (Preamble length + 1 + SFD length - PAC size) */
#define RANGING_BROADCASTS_PERIOD_US 1000
#define RANGING_BROADCASTS_PERIOD_US 2000
#define RANGING_LISTENING_WINDOW_US 8000
#define RANGING_LISTENING_WINDOW_PADDING_US 1100
#endif
Expand Down

0 comments on commit 9e6cec2

Please sign in to comment.