Commit graph

73 commits

Author SHA1 Message Date
shakemid
c60aba2aae remove -I/usr/include/libusb-1.0 2019-06-04 21:26:03 +09:00
K.Cima
6810751564
Merge pull request #4 from c72578/2019-06-03_Update_libusb-1.0_include
Update libusb-1.0 include
2019-06-04 21:23:39 +09:00
Wolfgang Stöggl
603a747893 Update libusb-1.0 include
- Use #include <libusb-1.0/libusb.h>
- Fixes MinGW-w64 compile error:
  pcsensor.c:42:10: fatal error: libusb.h: No such file or directory
2019-06-03 17:19:23 +02:00
K.Cima
2b05d739e3
Merge pull request #3 from c72578/2019-05-28_use_memset_instead_of_bzero
Use memset() instead of bzero()
2019-05-29 16:18:11 +09:00
K.Cima
f31ae039b1
Merge pull request #2 from silverark/patch-1
Added build for Ubuntu/Debian systems
2019-05-29 16:17:25 +09:00
Wolfgang Stöggl
a4f496129c Use memset() instead of bzero()
- The function bzero() is deprecated (marked as LEGACY in POSIX.1-2001)
  use memset() in new programs. POSIX.1-2008 removes the specification
  of bzero(). From: https://linux.die.net/man/3/bzero
- Furthermore, this fixes the compiler warning using MinGW-w64:
  pcsensor.c:272:5: warning: implicit declaration of function 'bzero'
  [-Wimplicit-function-declaration] bzero(answer, reqIntLen);
2019-05-28 17:49:35 +02:00
Matthew Nelson - Silverark
cbdd5b6b92
Added build for Ubuntu/Debian systems 2019-05-07 09:45:16 +01:00
K.Cima
7c335932cf
Update README.md 2018-11-24 23:10:59 +09:00
shakemid
56423c8386 add libusb_reset_device before configuration 2018-11-23 00:18:29 +09:00
K.Cima
00c2bc2532
Merge pull request #1 from hpotaraju/patch-1
Reorder gcc parameters
2018-09-07 09:08:06 +09:00
hpotaraju
2f77f9925a
Reorder gcc parameters
Linker unable to resolve libusb functions because of parameter ordering. Reordering this way will help create the undefined symbols first, which will subsequently resolve when seeing libusb-1.0.a
2018-08-22 15:52:31 -07:00
shakemid
c745c2dab9 Add .travis.yml 2017-11-13 16:06:38 +09:00
shakemid
afb701dfdd Fix for TEMPerHUM, TEMPer2 2017-09-28 23:08:13 +09:00
shakemid
a6e0aeaf6a Add comment 2017-09-26 14:57:18 +09:00
shakemid
c626d69771 Remove debug code 2017-09-26 08:05:23 +09:00
shakemid
9b7ded68ac Fix formula for sht1x 2017-09-26 08:02:36 +09:00
shakemid
c2188fc9cf Fix Makefile 2017-09-22 13:59:53 +09:00
shakemid
5beecd0fc0 Fix munin-plugin 2017-09-22 09:44:57 +09:00
shakemid
cdc191dd51 Fix munin-plugin 2017-09-17 23:25:08 +09:00
shakemid
04ebf0e6f4 Add document for munin-plugin 2017-09-17 18:02:15 +09:00
shakemid
5bff0d64d2 Fix formula for humidity 2017-09-15 23:27:46 +09:00
shakemid
8e768bca60 Fix formula for humidity 2017-09-15 23:25:06 +09:00
shakemid
c9357827d5 Fix munin-plugin to support TEMPerHUM 2017-09-15 22:46:00 +09:00
shakemid
503dd1132e Add cleanup function 2017-09-15 20:44:33 +09:00
shakemid
44126918c3 Add libusb_exit 2017-09-15 20:23:03 +09:00
shakemid
bd94feb107 Chenge debug message to stderr 2017-09-15 20:22:47 +09:00
shakemid
5de95d4d16 Change printf 2017-09-15 19:14:30 +09:00
shakemid
71a903e649 Fix loop 2017-09-15 17:58:09 +09:00
shakemid
e3452614e6 Fix comment 2017-09-15 17:56:12 +09:00
shakemid
856f590599 Fix comment 2017-09-15 17:21:34 +09:00
shakemid
a41e363d8c Remove tag at struct 2017-09-15 17:20:07 +09:00
shakemid
8d8d968cf7 Fix comment 2017-09-15 17:16:04 +09:00
shakemid
594782b648 Change port -> address in debug message for rhel6 2017-09-15 17:12:19 +09:00
shakemid
42d8695564 Change to use struct 2017-09-15 17:09:36 +09:00
shakemid
b118b45bb3 Add support for 0c45:7402 2017-09-15 16:04:47 +09:00
shakemid
e7170399df Add debug message 2017-09-15 12:42:48 +09:00
shakemid
0ca8fdb1a3 Revert -c option 2017-09-15 12:20:44 +09:00
shakemid
fcff31db7b Add debug message 2017-09-14 23:10:36 +09:00
K.Cima
dadd269a28 Update README.md 2017-09-14 12:19:10 +09:00
shakemid
eb73622194 Change output format parseable 2017-09-14 11:56:31 +09:00
shakemid
56fb12dab4 Remove unused const 2017-09-14 10:52:59 +09:00
shakemid
3828d9cb30 Remove unnecessary initialize code 2017-09-14 09:56:38 +09:00
shakemid
d6e5d5a6d4 Replace interrupt_read_temperature function 2017-09-13 21:25:24 +09:00
shakemid
170cd0889f Merge branch 'master' of github.com:shakemid/pcsensor 2017-09-13 16:55:55 +09:00
shakemid
7eb9e1cdb1 Fix styles 2017-09-13 16:55:32 +09:00
K.Cima
2cef18833e Update README.md 2017-09-13 10:56:47 +09:00
shakemid
9291d90320 Add retry to munin plugin 2017-09-01 17:21:35 +09:00
K.Cima
255b016e94 Update README.md 2017-09-01 08:16:04 +09:00
K.Cima
8441305e49 Update README.md 2017-09-01 06:53:01 +09:00
shakemid
855fb7fa33 Fix typos 2017-08-31 19:01:41 +09:00