Skip to content
Snippets Groups Projects
Commit 54c1d01f authored by Keno Garlichs's avatar Keno Garlichs
Browse files

disabled the timer increment task. this is now done via software timer

parent ab3d991b
No related branches found
No related tags found
No related merge requests found
...@@ -148,7 +148,7 @@ int dw1000_writeFrameIntoBuffer(uint16_t txBufferOffset, uint8_t *payload, uint1 ...@@ -148,7 +148,7 @@ int dw1000_writeFrameIntoBuffer(uint16_t txBufferOffset, uint8_t *payload, uint1
int dw1000_transmitFrame(uint16_t txBufferOffset, uint16_t len); int dw1000_transmitFrame(uint16_t txBufferOffset, uint16_t len);
int dw_1000_receiveFrameFromIsr(uint8_t * buffer, uint32_t length); int dw_1000_receiveFrameFromIsr(uint8_t * buffer, uint32_t length);
void dw1000_extiCallback(void); void dw1000_extiCallback(void);
void vTaskGlobalTimeIncrement(void *pvParameters); //void vTaskGlobalTimeIncrement(void *pvParameters);
void dw1000_generateConfig(uint16_t mode, dwt_config_t *config); void dw1000_generateConfig(uint16_t mode, dwt_config_t *config);
......
...@@ -395,7 +395,7 @@ int dw1000_transmitFrame(uint16_t txBufferOffset, uint16_t len){ ...@@ -395,7 +395,7 @@ int dw1000_transmitFrame(uint16_t txBufferOffset, uint16_t len){
return DW1000_RET_OK; return DW1000_RET_OK;
} }
/*
void vTaskGlobalTimeIncrement(void *pvParameters) { void vTaskGlobalTimeIncrement(void *pvParameters) {
TickType_t xNextWakeTime; TickType_t xNextWakeTime;
...@@ -404,10 +404,11 @@ void vTaskGlobalTimeIncrement(void *pvParameters) { ...@@ -404,10 +404,11 @@ void vTaskGlobalTimeIncrement(void *pvParameters) {
// Task is delayed until radio timestamp approximately overflows // Task is delayed until radio timestamp approximately overflows
vTaskDelayUntil(&xNextWakeTime, 1000 / portTICK_PERIOD_MS); vTaskDelayUntil(&xNextWakeTime, 1000 / portTICK_PERIOD_MS);
sync_local_time(); sync_local_time();
print_node_time(&node_time, 0); print_node_time(&node_time, 1);
} }
vTaskDelete( NULL); vTaskDelete( NULL);
} }
*/
void dw1000_extiCallback(void) { void dw1000_extiCallback(void) {
dw1000Isr_handleInterrupt(); dw1000Isr_handleInterrupt();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment