Renamed remotely

git-svn-id: file:///srv/dev-disk-by-uuid-17e88007-4d0c-45e0-8757-cacfcc458630/repositories/svn/Diplomarbeit@107 9fe90eed-be63-e94b-8204-d34ff4c2ff93
This commit is contained in:
Matthias
2009-01-12 08:26:15 +00:00
parent 581bdc3e23
commit 4381f5512f
71 changed files with 0 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#include <stdio.h>
#include "BpPort.h"
#include <sys/time.h>
#include <time.h>
portTickType xTaskGetTickCount()
{
struct timeval tv;
portTickType result;
unsigned long intermediate;
gettimeofday(&tv, NULL);
intermediate = tv.tv_sec * 1000;
result = intermediate + (tv.tv_usec / 1000);
return result;
}