diff --git a/Makefile b/Makefile index 44b4251..4da8622 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ CC = gcc MKDIR_P = mkdir -p -APP_NAME = argbColors +APP_NAME = argb-colors all: $(APP_NAME) -argbColors: ./src/$(APP_NAME).c +argb-colors: ./src/$(APP_NAME).c $(MKDIR_P) ./bin $(CC) -std=c17 -I/usr/include/ ./src/$(APP_NAME).c -lusb-1.0 -o ./bin/$(APP_NAME) diff --git a/README.md b/README.md index a41afee..16c39b2 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -# argb controls for 048d:5711 Integrated Technology Express, Inc. GIGABYTE Device +# argb-colors is application for backlight adjusting. Created for VID:PID=048d:5711 [![status-badge](https://ci.redrise.ru/api/badges/13/status.svg)](https://ci.redrise.ru/repos/13) -Reference hardware used: Z890 AORUS PRO ICE +Reference hardware used: Z890 AORUS PRO ICE, 048d:5711 Integrated Technology Express, Inc. GIGABYTE Device ### udev rules diff --git a/src/argbColors.c b/src/argb-colors.c similarity index 96% rename from src/argbColors.c rename to src/argb-colors.c index de24319..20fc6d3 100644 --- a/src/argbColors.c +++ b/src/argb-colors.c @@ -13,7 +13,7 @@ #include "libusb-1.0/libusb.h" -#include "argbColors.h" +#include "argb-colors.h" #include "configuration.h" #include "device_setup.c" #include "init_terminate.c" @@ -56,7 +56,9 @@ int sync_flow(char* directive){ } int separate_flow(){ - + + printf("Command not recognized\n" + "Possible values are: color off impulse flash flash2 cycle\n"); } diff --git a/src/argbColors.h b/src/argb-colors.h similarity index 100% rename from src/argbColors.h rename to src/argb-colors.h