satoshinm / pill_duck

Scriptable USB HID device for STM32F103 blue pill (inspired by USB Rubber Ducky) ⛺
GNU General Public License v3.0
63 stars 17 forks source link

does not compile on ubuntu 16.04 #12

Open m2049r opened 6 years ago

m2049r commented 6 years ago

$ make GIT version.h CC cdcacm.c CC hid.c CC hex_utils.c CC flash.c CC main.c main.c:99:67: error: missing braces around initializer [-Werror=missing-braces] static struct composite_report packet_buffer[1024 / sizeof(struct composite_report)] = {0}; ^ main.c:99:67: error: (near initialization for 'packet_buffer[0]') [-Werror=missing-braces] cc1: all warnings being treated as errors Makefile:49: recipe for target 'main.o' failed make: *** [main.o] Error 1