mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-06-12 08:33:00 -04:00
GPS driver implemented
This commit is contained in:
parent
07b589fe3f
commit
4827565bc8
10 changed files with 634 additions and 113 deletions
3
main.c
3
main.c
|
@ -14,6 +14,7 @@
|
|||
#include "hardware/UserIO.h"
|
||||
#include "hardware/SD.h"
|
||||
#include "hardware/Bluetooth.h"
|
||||
#include "hardware/GPS.h"
|
||||
#include "protocol/AX25.h"
|
||||
#include "protocol/KISS.h"
|
||||
#include "util/time.h"
|
||||
|
@ -69,6 +70,7 @@ void init(void) {
|
|||
kiss_init(&AX25, &modem, &serial);
|
||||
sd_init();
|
||||
bluetooth_init();
|
||||
gps_init(&serial);
|
||||
usrio_init();
|
||||
|
||||
system_check();
|
||||
|
@ -83,6 +85,7 @@ int main (void) {
|
|||
kiss_poll();
|
||||
kiss_csma();
|
||||
sd_jobs();
|
||||
gps_poll();
|
||||
}
|
||||
|
||||
return(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue