summaryrefslogtreecommitdiff
path: root/peripheral/libupm/examples/c++/ublox6.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'peripheral/libupm/examples/c++/ublox6.cxx')
-rw-r--r--peripheral/libupm/examples/c++/ublox6.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/peripheral/libupm/examples/c++/ublox6.cxx b/peripheral/libupm/examples/c++/ublox6.cxx
index a0cd5f2..2d3d34b 100644
--- a/peripheral/libupm/examples/c++/ublox6.cxx
+++ b/peripheral/libupm/examples/c++/ublox6.cxx
@@ -25,7 +25,7 @@
#include <unistd.h>
#include <iostream>
#include <signal.h>
-#include "ublox6.h"
+#include "ublox6.hpp"
using namespace std;
@@ -77,7 +77,7 @@ int main (int argc, char **argv)
if (rv > 0)
write(1, nmeaBuffer, rv);
- if (rv < 0) // some sort of read error occured
+ if (rv < 0) // some sort of read error occurred
{
cerr << "Port read error." << endl;
break;