QMK Improvements - make LEDs per update configurable

* Fix Windows include error that breaks std::min/max if a Windows header is included (tracked down to
net_port.h)

Commit amended by Adam Honse <calcprogrammer1@gmail.com>
This commit is contained in:
Kasper 2021-06-25 23:49:02 +00:00 committed by Adam Honse
parent 3523044a29
commit 6ea3cdb8b7
4 changed files with 41 additions and 11 deletions

View file

@ -13,6 +13,10 @@
#include <vector>
#ifdef WIN32
/*---------------------------------------------------------*\
| Windows interferes with std::max unless NOMINMAX defined |
\*---------------------------------------------------------*/
#define NOMINMAX
#include <winsock2.h>
#include <ws2tcpip.h>
#else