Compare commits

..

1 Commits

Author SHA1 Message Date
Thomas Klaehn
2600ca8742 gpio driver 2019-07-14 09:18:42 +02:00

View File

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