mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-22 16:37:58 +06:00
Fix incorrect minor version response of kc_get_firmware_version
This commit is contained in:
parent
eba583cfa7
commit
57c5939d45
|
@ -160,7 +160,7 @@ bool via_command_kb(uint8_t *data, uint8_t length) {
|
||||||
data[i++] = '.';
|
data[i++] = '.';
|
||||||
itoa((DEVICE_VER >> 4) & 0xF, (char *)&data[i++], 16);
|
itoa((DEVICE_VER >> 4) & 0xF, (char *)&data[i++], 16);
|
||||||
data[i++] = '.';
|
data[i++] = '.';
|
||||||
itoa((DEVICE_VER >> 4) & 0xF, (char *)&data[i++], 16);
|
itoa(DEVICE_VER & 0xF, (char *)&data[i++], 16);
|
||||||
data[i++] = ' ';
|
data[i++] = ' ';
|
||||||
memcpy(&data[i], QMK_BUILDDATE, sizeof(QMK_BUILDDATE));
|
memcpy(&data[i], QMK_BUILDDATE, sizeof(QMK_BUILDDATE));
|
||||||
i += sizeof(QMK_BUILDDATE);
|
i += sizeof(QMK_BUILDDATE);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user