Added basic logging
This commit is contained in:
parent
60c92d40ae
commit
653064f0fc
|
@ -1,6 +1,5 @@
|
||||||
#include <argp.h>
|
#include <argp.h>
|
||||||
#include <linux/input.h>
|
#include <linux/input.h>
|
||||||
//#include <linux/input-event-codes.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -53,6 +52,7 @@ main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Sending barcode failed!\n");
|
fprintf(stderr, "Sending barcode failed!\n");
|
||||||
}
|
}
|
||||||
|
printf("Published barcode %s!\n", barcode);
|
||||||
free(barcode);
|
free(barcode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue