# HG changeset patch # User matthewreed # Date 2017-07-19 18:17:05 # Node ID 57f7cc1705c1e6f980f95d5799c1fc60ff62fae8 # Parent 5b244673cf7f522b38dd6ac9ab8c45f334cdaf28 Added user flash struct diff --git a/inc/flash.h b/inc/flash.h --- a/inc/flash.h +++ b/inc/flash.h @@ -8,12 +8,14 @@ #define PAGE_SIZE ((uint16_t)0x400) #define END_ADDR 0x08007FFF + typedef union { struct { uint32_t can_id; uint16_t data_rate; uint8_t led_brightness; + flash_user_vars_t user; } val; uint16_t data[128];