remove reference to disfunct KMK_RELEASE.

This commit is contained in:
xs5871 2022-08-03 16:34:22 +00:00 committed by xs5871
parent 5d2a42d9a9
commit f0544465c7
7 changed files with 11 additions and 40 deletions

View File

@ -79,13 +79,5 @@ In case you need it, debugging help can be found [here](debugging.md)
If you need support with KMK or just want to say hi, find us in If you need support with KMK or just want to say hi, find us in
[#kmkfw:klar.sh on Matrix](https://matrix.to/#/#kmkfw:klar.sh). This channel is [#kmkfw:klar.sh on Matrix](https://matrix.to/#/#kmkfw:klar.sh). This channel is
bridged to Discord [here](https://discordapp.com/widget?id=493256121075761173&theme=dark) bridged to Discord [here](https://discordapp.com/widget?id=493256121075761173&theme=dark)
for convenience. If you ask for help on chat or open a bug report, if possible for convenience. If you ask for help in chat or open a bug report, if possible
please give us your commit SHA, found by running make sure your copy of KMK is up-to-date.
`from kmk.consts import KMK_RELEASE; print(KMK_RELEASE)` in the REPL on your
controller.

View File

@ -99,8 +99,5 @@ RGB や分裂型などの機能を楽しめたい場合は、ビルトイン[モ
KMK についてサポートが必要な場合や、コミュニケーションをとりたい場合は[こちら](https://matrix.to/#/#kmkfw:klar.sh)。 KMK についてサポートが必要な場合や、コミュニケーションをとりたい場合は[こちら](https://matrix.to/#/#kmkfw:klar.sh)。
このチャネルは[Discord](https://discordapp.com/widget?id=493256121075761173&theme=dark) からも見ることができます。 このチャネルは[Discord](https://discordapp.com/widget?id=493256121075761173&theme=dark) からも見ることができます。
チャットやバグ報告などでヘルプを求める場合、可能な限り、コントローラーの REPL に`from kmk.consts import KMK_RELEASE; print(KMK_RELEASE)`を実行することによって表示されるコミットSHAを記載してください。 チャットで助けを求める場合やバグ レポートを開く場合は、可能であれば KMK
のコピーが最新であることを確認してください。

View File

@ -127,7 +127,4 @@ canal [#kmkfw:klar.sh no Matrix](https://matrix.to/#/#kmkfw:klar.sh). Este canal
tem uma ponte no Discord tem uma ponte no Discord
[aqui](https://discordapp.com/widget?id=493256121075761173&theme=dark) por [aqui](https://discordapp.com/widget?id=493256121075761173&theme=dark) por
conveniência. Se você precisa de ajuda ou pretende abrir um bug report, se conveniência. Se você precisa de ajuda ou pretende abrir um bug report, se
possível forneça o hash SHA do *commit* utilizado, o qual pode ser obtido possível se possível, verifique se sua cópia do KMK está atualizada.
executando este comando no REPL de seu controlador:
`from kmk.consts import KMK_RELEASE; print(KMK_RELEASE)`

View File

@ -6,8 +6,5 @@ tem uma ponte no Discord
[aqui](https://discordapp.com/widget?id=493256121075761173&theme=dark) por [aqui](https://discordapp.com/widget?id=493256121075761173&theme=dark) por
conveniência. conveniência.
Se você precisa de ajuda ou pretende abrir um bug report, se possível forneça o Se você precisa de ajuda ou pretende abrir um bug report, se
hash SHA do *commit* utilizado, o qual pode ser obtido executando este comando possível se possível, verifique se sua cópia do KMK está atualizada.
no REPL de seu controlador:
`from kmk.consts import KMK_RELEASE; print(KMK_RELEASE)`

View File

@ -5,11 +5,5 @@ on Matrix](https://matrix.to/#/#kmkfw:klar.sh). This channel is bridged to
Discord [here](https://discordapp.com/widget?id=493256121075761173&theme=dark) Discord [here](https://discordapp.com/widget?id=493256121075761173&theme=dark)
for convenience. for convenience.
If you ask for help on chat or open a bug report, if possible please give us If you ask for help in chat or open a bug report, if possible
your commit SHA, found by running make sure your copy of KMK is up-to-date.
```python
from kmk.consts import KMK_RELEASE; print(KMK_RELEASE)
```
in the REPL on your controller.

View File

@ -1,10 +1,5 @@
from micropython import const from micropython import const
try:
from kmk.release_info import KMK_RELEASE
except Exception:
KMK_RELEASE = 'copied-from-git'
class UnicodeMode: class UnicodeMode:
NOOP = const(0) NOOP = const(0)

View File

@ -1,6 +1,6 @@
from supervisor import ticks_ms from supervisor import ticks_ms
from kmk.consts import KMK_RELEASE, UnicodeMode from kmk.consts import UnicodeMode
from kmk.hid import BLEHID, USBHID, AbstractHID, HIDModes from kmk.hid import BLEHID, USBHID, AbstractHID, HIDModes
from kmk.keys import KC from kmk.keys import KC
from kmk.kmktime import ticks_add, ticks_diff from kmk.kmktime import ticks_add, ticks_diff
@ -447,8 +447,7 @@ class KMKKeyboard:
debug(f'Failed to load extensions {module}: {err}') debug(f'Failed to load extensions {module}: {err}')
if debug.enabled: if debug.enabled:
debug(f'KMKInit(release={KMK_RELEASE})') debug(f'init: {self}')
debug(self)
def _main_loop(self): def _main_loop(self):
self.state_changed = False self.state_changed = False