Skip to content

Commit

Permalink
12 anchors
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikNatanael committed Sep 29, 2024
1 parent 4f5893a commit bc2b9e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <ESP32SPISlave.h>
// #include <SPI.h>

#define TAG_ID 4
#define TAG_ID 5

// SPI to Daisy
static const int spiClk = 1000000; // 1 MHz
Expand All @@ -20,7 +20,7 @@ ESP32SPISlave spi_slave;
static constexpr size_t QUEUE_SIZE = 1;
// SPIClass * hspi = NULL

#define NUM_ANCHORS 10
#define NUM_ANCHORS 12
static double distances_to_anchors[NUM_ANCHORS];

#define APP_NAME "SS TWR INIT STS v1.0"
Expand Down
2 changes: 1 addition & 1 deletion code/myriad/daisy_loam_headphones/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ mod voice_playback;
// mod wav_reader;

pub const CONTROL_RATE_IN_MS: u32 = 10;
pub const NUM_ANCHORS: usize = 10;
pub const NUM_ANCHORS: usize = 12;

pub type Sample = f32;

Expand Down

0 comments on commit bc2b9e7

Please sign in to comment.