diff --git a/src/main.cpp b/src/main.cpp index ff7f39d..f818f05 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -25,6 +25,7 @@ // #include // +#include "version.h" #define TAG "Main" using namespace std; QT_CHARTS_USE_NAMESPACE @@ -36,8 +37,9 @@ int main(int argc, char *argv[]) { QApplication a(argc, argv); MainWindow w; w.show(); - ZLOGI(TAG, "start"); + ZLOGI(TAG, "camera_light_src_timing_controller"); + ZLOGI(TAG, "maufacturer : %s", MAUFACTURER); + ZLOGI(TAG, "version : %d.0.0", VERSION); + return a.exec(); } - - diff --git a/src/version.h b/src/version.h new file mode 100644 index 0000000..17de0ca --- /dev/null +++ b/src/version.h @@ -0,0 +1,4 @@ +#pragma once + +#define VERSION 3 +#define MAUFACTURER "iflytop" \ No newline at end of file