diff --git a/projects/01bsp_lighthouse/01bsp_lighthouse.c b/projects/01bsp_lighthouse/01bsp_lighthouse.c index 8882702..0972239 100644 --- a/projects/01bsp_lighthouse/01bsp_lighthouse.c +++ b/projects/01bsp_lighthouse/01bsp_lighthouse.c @@ -47,5 +47,10 @@ int main(void) { // the location function has to be running all the time db_lh2_process_location(&_lh2); + for (uint8_t bs_index = 0; bs_index < LH2_BASESTATION_COUNT; bs_index++) { + if (_lh2.data_ready[0][bs_index] == DB_LH2_PROCESSED_DATA_AVAILABLE && _lh2.data_ready[1][bs_index] == DB_LH2_PROCESSED_DATA_AVAILABLE) { + printf("BS idx: %d - counts: %u:%u\n", bs_index, _lh2.locations[0][bs_index].lfsr_counts, _lh2.locations[1][bs_index].lfsr_counts); + } + } } }