From a541bbd4593d78823ba17038fa5ff91a76af75cc Mon Sep 17 00:00:00 2001
From: Kevin Lyda <kevin@ie.suberic.net>
Date: Wed, 7 Dec 2016 13:24:49 +0000
Subject: [PATCH] Get a build kind of working.

Segfaults at:

```
$ ./bin/gqgmc /dev/gqgmc
/dev/gqgmc
USB is opened

date: 030513
time: 171730
get version
GMC-300Re 4.18

get serial number
Paused: to continue, press ENTER..
f48800d1052677

get CPM
Paused: to continue, press ENTER..
11

get 5 samples of CPS
Paused: to continue, press ENTER..
1
1
1
0
0
get battery voltage
Paused: to continue, press ENTER..

Get a build kind of working.
4.2V

Turning on auto-CPS data
Paused: to continue, press ENTER..
s=0 0
s=1 2
s=2 0
s=3 0
s=4 0
s=5 0
s=6 1
s=7 0
s=8 1
s=9 0
turning off CPS
get history
Paused: to continue, press ENTER..
zsh: segmentation fault (core dumped)  ./bin/gqgmc /dev/gqgmc
```
---
 .gitignore | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 .gitignore

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a6673e4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+*.o
+*.a
+/bin/gqgmc
-- 
GitLab