util/flasher/Base.h: Don't use an unnamed struct

While older GCC versions accept using an unnamed struct, gcc 7+ does not. Use a
named one instead, to make both gcc versions happy.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/741/head
Gergely Nagy 5 years ago
parent 5e5e8d039b
commit 64d57c79e4
No known key found for this signature in database
GPG Key ID: AC1E90BAC433F68F

@ -28,7 +28,7 @@ struct BaseProps {
static constexpr uint8_t blank = 0xff;
static constexpr uint8_t delay = 1;
static struct {
static struct command {
static constexpr uint8_t page_address = 0x01;
static constexpr uint8_t continue_page = 0x02;
static constexpr uint8_t execute = 0x03;

Loading…
Cancel
Save