mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-09-30 13:58:57 +02:00
Merge remote-tracking branch 'origin/develop' into xap
This commit is contained in:
@@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#include "action_layer.h"
|
||||
#include "timer.h"
|
||||
#include "keycode_config.h"
|
||||
#include "usb_device_state.h"
|
||||
#include <string.h>
|
||||
|
||||
extern keymap_config_t keymap_config;
|
||||
@@ -319,14 +318,12 @@ void send_nkro_report(void) {
|
||||
*/
|
||||
void send_keyboard_report(void) {
|
||||
#ifdef NKRO_ENABLE
|
||||
if (usb_device_state_get_protocol() == USB_PROTOCOL_REPORT && keymap_config.nkro) {
|
||||
if (host_can_send_nkro() && keymap_config.nkro) {
|
||||
send_nkro_report();
|
||||
} else {
|
||||
send_6kro_report();
|
||||
return;
|
||||
}
|
||||
#else
|
||||
send_6kro_report();
|
||||
#endif
|
||||
send_6kro_report();
|
||||
}
|
||||
|
||||
/** \brief Get mods
|
||||
|
||||
Reference in New Issue
Block a user