Zephyr example : nrf_desktop keyboard.conf USB_HID_PROTOCOL_CODE not defined error

Good day

I receiving the following error when doing a prestine build on nrf_desktop keyboard.conf example (original example)

warning: USB_HID_PROTOCOL_CODE (defined at C:/Users/Lenovo/OneDrive/02_12/prog_key_project_nrf_desktop\src/modules\Kconfig.usb_state:65) defined without a type

error: Aborting due to Kconfig warnings

-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\cf2149caf2\opt\bin\cmake.EXE' -DWEST_PYTHON=C:/ncs/toolchains/cf2149caf2/opt/bin/python.exe '-Bc:\Users\Lenovo\OneDrive\02_12\prog_key_project_nrf_desktop\build' -GNinja -DBOARD=nrf52840dk_nrf52840 -DNCS_TOOLCHAIN_VERSION=NONE -DCONF_FILE=c:/Users/Lenovo/OneDrive/02_12/prog_key_project_nrf_desktop/configuration/nrf52840dk_nrf52840/prj_keyboard.conf -DEXTRA_DTC_OVERLAY_FILE=configuration/nrf52840dk_nrf52840/app.overlay '-Sc:\Users\Lenovo\OneDrive\02_12\prog_key_project_nrf_desktop'

line 65 in Kconfig.usb_state :

config USB_HID_PROTOCOL_CODE
    default 2 if DESKTOP_HID_BOOT_INTERFACE_MOUSE
    default 1 if DESKTOP_HID_BOOT_INTERFACE_KEYBOARD
I have other projects based on this example that i  have been using for the past year which also now comes up with this error.
Using toolchain 2.6 currently. If I recall my older projects were on 2.4
As always any assistance  will be appreciated
Related