diff options
Diffstat (limited to 'streamdeck.c')
-rw-r--r-- | streamdeck.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/streamdeck.c b/streamdeck.c index ffd0d08..28e5a03 100644 --- a/streamdeck.c +++ b/streamdeck.c @@ -51,7 +51,8 @@ init () /* * Init the HIDAPI library */ - if (hid_init() < 0) { + if (hid_init() < 0) + { (void) fprintf(stderr, "Could not init the HID library\n"); return -1; } @@ -61,6 +62,7 @@ init () */ if (pthread_mutex_init(&inflate_lock, NULL)) { + (void) fprintf(stderr, "Could not init lock\n"); return -2; } @@ -203,7 +205,7 @@ set_key_image(streamdeck* deck, int key, image* img) int update_current_folder (screen* folder) { - for (int i = 0; i < MINI_KEYS ; i++ ) + for (int i = 0; i < STREAMDECK_MINI; i++ ) { } |