shakemid
b1431f6317
fix for gcc warnings
2019-06-04 21:29:01 +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
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
shakemid
56423c8386
add libusb_reset_device before configuration
2018-11-23 00:18:29 +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
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
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
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
7eb9e1cdb1
Fix styles
2017-09-13 16:55:32 +09:00
shakemid
855fb7fa33
Fix typos
2017-08-31 19:01:41 +09:00
shakemid
8955a0d5a6
Change to support multiple devices
2017-08-31 19:01:34 +09:00
shakemid
736f32ec25
Fix to supress gcc warnings
2017-08-31 11:10:11 +09:00
shakemid
bb0e786aa5
Fix to supress gcc warnings
2017-08-31 11:08:33 +09:00
shakemid
42e906cd67
Remove blank lines
2017-08-31 11:06:19 +09:00
shakemid
b107c1f0b7
Remove unused functions
2017-08-31 11:01:51 +09:00
shakemid
38989ad8b7
Change version 1.0.1a -> 1.1.0
2017-08-31 09:57:03 +09:00
shakemid
cc37eec1cf
Fix indent to 4 spaces
2017-08-31 09:56:15 +09:00
shakemid
3519bbbd47
Fix pcsensor.c to print error to stderr
2017-08-31 09:47:57 +09:00
K.Cima
8ccd2b1f47
Change libusb-0.1 -> libusb-1.0 to be able to build on Solaris
2017-08-30 19:03:42 +09:00
MacMarc
1b476bbe00
Update pcsensor.c
...
-m showed only internal temperatures. fixed, that it shows correctly internal and external temperature.
2015-08-18 20:28:26 +02:00
Peter Farsinsen
bf36edda47
Reading and displaying the vaule of the external sensor
2012-09-13 21:38:23 +02:00
Peter Farsinsen
1fc407cac0
Initial commit of pcsensor v. 1.0.1
2012-09-13 20:03:51 +02:00