Skip to content

Commit

Permalink
add "Adafruit_BBIO" to syslog()
Browse files Browse the repository at this point in the history
  • Loading branch information
pdp7 committed Oct 31, 2017
1 parent 1edb207 commit 1b3dab6
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 83 deletions.
4 changes: 2 additions & 2 deletions source/c_pinmux.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ BBIO_err set_pin_mode(const char *key, const char *mode)
if (NULL == f) {
return BBIO_ACCESS;
}
syslog(LOG_DEBUG, "set_pin_mode() :: Pinmux file %s access OK", path);
syslog(LOG_DEBUG, "Adafruit_BBIO: set_pin_mode() :: Pinmux file %s access OK", path);
fprintf(f, "%s", mode);
fclose(f);
syslog(LOG_DEBUG, "set_pin_mode() :: Set pinmux mode to %s for %s", mode, pin);
syslog(LOG_DEBUG, "Adafruit_BBIO: set_pin_mode() :: Set pinmux mode to %s for %s", mode, pin);
return BBIO_OK;
}

0 comments on commit 1b3dab6

Please sign in to comment.