Commit 7b1a5c27 authored by Tristan Gingold's avatar Tristan Gingold

sw/fw: constify.

parent 66d1ff61
......@@ -29,7 +29,7 @@ int fd_bin_size = -1;
#define ACAM_FP_BIN ((int)(ACAM_DESIRED_BIN * (1 << 16)))
#define ACAM_FP_TREF (((1000LL * 1000 * 1000) << 16) / ACAM_CLOCK_FREQ_KHZ)
/* Default values of control registers for the ACAM TDC working in G-Mode
/* Default values of control registers for the ACAM TDC working in G-Mode
(eeprom values are obsolete) */
#define ACAM_GMODE_START_OFFSET 10000
#define ACAM_GMODE_ASOR 17000
......
......@@ -889,7 +889,7 @@ static trtl_fw_action_t *wrtd_out_actions[] = {
*/
static int wrtd_o_init(void)
{
struct trtl_ep_eth_address addr = {
static const struct trtl_ep_eth_address addr = {
.type = TRTL_EP_FRAME_UDP,
.dst_mac = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF},
.dst_ip = 0xFFFFFFFF,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment