Compare commits

..

1 Commits

Author SHA1 Message Date
Thomas Klaehn
519594600d gpio driver 2019-07-14 11:28:10 +02:00

View File

@ -5,7 +5,7 @@
#include <gpio.h> #include <gpio.h>
const struct gpio gpio = { static const struct gpio gpio = {
.pin = 0x08, .pin = 0x08,
}; };
@ -15,7 +15,6 @@ int main(int argc, char *argv[])
unsigned int value; unsigned int value;
openlog("ftdi_gpio", LOG_CONS | LOG_PID | LOG_NDELAY, LOG_LOCAL1); openlog("ftdi_gpio", LOG_CONS | LOG_PID | LOG_NDELAY, LOG_LOCAL1);
// setlogmask(LOG_DEBUG);
res = gpio_open(&gpio); res = gpio_open(&gpio);
if(res != EXIT_SUCCESS) { if(res != EXIT_SUCCESS) {