فهرست منبع

Fix generate api (#13930)

* Add missing returncode to exit()

* fix the aozora/hotswap vendor id
Zach White 3 سال پیش
والد
کامیت
e6c171bdd6
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      keyboards/aozora/hotswap/config.h
  2. 1 1
      lib/python/qmk/info.py

+ 1 - 1
keyboards/aozora/hotswap/config.h

@@ -19,7 +19,7 @@
 #include "config_common.h"
 
 /* USB Device descriptor parameter */
-#define VENDOR_ID       0xCATS
+#define VENDOR_ID       0xCA75
 #define PRODUCT_ID      0x4014
 #define DEVICE_VER      0x0001
 #define MANUFACTURER    Salmon Cat Studio

+ 1 - 1
lib/python/qmk/info.py

@@ -71,7 +71,7 @@ def info_json(keyboard):
     except jsonschema.ValidationError as e:
         json_path = '.'.join([str(p) for p in e.absolute_path])
         cli.log.error('Invalid API data: %s: %s: %s', keyboard, json_path, e.message)
-        exit()
+        exit(1)
 
     # Make sure we have at least one layout
     if not info_data.get('layouts'):