diff options
| author | QMK Bot <hello@qmk.fm> | 2024-11-30 05:31:16 +0000 |
|---|---|---|
| committer | QMK Bot <hello@qmk.fm> | 2024-11-30 05:31:16 +0000 |
| commit | 5b827356bbbf6c2fbfbf660d35ac6df5a1457572 (patch) | |
| tree | a47bbb0dfbfdb44b7f439a110b62b42177f521c0 | |
| parent | 0ae7639f6c4d5a92f097a7520d006ac5b2d4f998 (diff) | |
| parent | 1da8aa8259fe624e30f0f2c09a814798caebb9f6 (diff) | |
Merge remote-tracking branch 'origin/master' into develop
| -rw-r--r-- | lib/python/qmk/info.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py index 5dae353538..74a62721a3 100644 --- a/lib/python/qmk/info.py +++ b/lib/python/qmk/info.py | |||
| @@ -292,7 +292,7 @@ def _extract_features(info_data, rules): | |||
| 292 | info_data['features'] = {} | 292 | info_data['features'] = {} |
| 293 | 293 | ||
| 294 | if key in info_data['features']: | 294 | if key in info_data['features']: |
| 295 | _log_warning(info_data, 'Feature %s is specified in both info.json and rules.mk, the rules.mk value wins.' % (key,)) | 295 | _log_warning(info_data, 'Feature %s is specified in both info.json (%s) and rules.mk (%s). The rules.mk value wins.' % (key, info_data['features'], value)) |
| 296 | 296 | ||
| 297 | info_data['features'][key] = value | 297 | info_data['features'][key] = value |
| 298 | info_data['config_h_features'][key] = value | 298 | info_data['config_h_features'][key] = value |
| @@ -415,7 +415,7 @@ def _extract_encoders(info_data, config_c): | |||
| 415 | info_data['encoder'] = {} | 415 | info_data['encoder'] = {} |
| 416 | 416 | ||
| 417 | if 'rotary' in info_data['encoder']: | 417 | if 'rotary' in info_data['encoder']: |
| 418 | _log_warning(info_data, 'Encoder config is specified in both config.h and info.json (encoder.rotary) (Value: %s), the config.h value wins.' % info_data['encoder']['rotary']) | 418 | _log_warning(info_data, 'Encoder config is specified in both config.h (%s) and info.json (%s). The config.h value wins.' % (encoders, info_data['encoder']['rotary'])) |
| 419 | 419 | ||
| 420 | info_data['encoder']['rotary'] = encoders | 420 | info_data['encoder']['rotary'] = encoders |
| 421 | 421 | ||
