diff options
author | Maximilien Cuony <maximilien@theglu.org> | 2016-06-02 22:00:22 +0200 |
---|---|---|
committer | Maximilien Cuony <maximilien@theglu.org> | 2016-06-02 22:00:22 +0200 |
commit | bbe4080e94308149b74dd9ccefddf95878eec5d0 (patch) | |
tree | db97785a48ff7267e263b9a55bed27b354e65925 /src/common/src/Core/common.c | |
parent | 9069fc127e4f73041fbd1f66e4506fcf12418315 (diff) | |
download | glutte-o-matic-bbe4080e94308149b74dd9ccefddf95878eec5d0.tar.gz glutte-o-matic-bbe4080e94308149b74dd9ccefddf95878eec5d0.tar.bz2 glutte-o-matic-bbe4080e94308149b74dd9ccefddf95878eec5d0.zip |
Simulator: UART, Leds, begining of GPS
Diffstat (limited to 'src/common/src/Core/common.c')
-rw-r--r-- | src/common/src/Core/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/src/Core/common.c b/src/common/src/Core/common.c index 2eee88f..8c63917 100644 --- a/src/common/src/Core/common.c +++ b/src/common/src/Core/common.c @@ -23,7 +23,7 @@ */ #include "Core/common.h" -#include "Core/usart.h" +#include "GPIO/usart.h" #include "FreeRTOS.h" #include "timers.h" /* #include "Core/gps.h" */ @@ -118,7 +118,7 @@ int local_time(struct tm *time) { const int local_time_offset=1; // hours - int valid = 0; // TODO gps_utctime(time); + int valid = gps_utctime(time); if (valid) { time->tm_hour += local_time_offset; |