summaryrefslogtreecommitdiffstats
path: root/tmk_core
diff options
context:
space:
mode:
authorxyverz <xyverz@gmail.com>2016-12-14 03:06:49 +0100
committerxyverz <xyverz@gmail.com>2016-12-14 03:06:49 +0100
commit0523657923d2bc8e9515fcb8125d8ceb7a70d862 (patch)
treec52a29838a67eb6c032b1950839ac889a1a6330c /tmk_core
parent592b90dd221d3847d359b9a4dbd258b9ceb2b3ce (diff)
parent20892bf706219f19a5f9cd34abd4f772ab4ee570 (diff)
downloadqmk_firmware-0523657923d2bc8e9515fcb8125d8ceb7a70d862.tar.gz
qmk_firmware-0523657923d2bc8e9515fcb8125d8ceb7a70d862.tar.xz
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/avr.mk2
-rw-r--r--tmk_core/protocol/lufa/adafruit_ble.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tmk_core/avr.mk b/tmk_core/avr.mk
index b48173341..5df539def 100644
--- a/tmk_core/avr.mk
+++ b/tmk_core/avr.mk
@@ -26,7 +26,7 @@ CFLAGS += -fno-inline-small-functions
CFLAGS += -fno-strict-aliasing
CPPFLAGS += $(COMPILEFLAGS)
-CPPFLAGS += -fno-exceptions
+CPPFLAGS += -fno-exceptions -std=c++11
LDFLAGS +=-Wl,--gc-sections
diff --git a/tmk_core/protocol/lufa/adafruit_ble.cpp b/tmk_core/protocol/lufa/adafruit_ble.cpp
index 37194e77a..fd6edd42c 100644
--- a/tmk_core/protocol/lufa/adafruit_ble.cpp
+++ b/tmk_core/protocol/lufa/adafruit_ble.cpp
@@ -86,7 +86,7 @@ struct queue_item {
uint16_t consumer;
struct __attribute__((packed)) {
- uint8_t x, y, scroll, pan;
+ int8_t x, y, scroll, pan;
} mousemove;
};
};