diff --git a/overlay_packet.h b/overlay_packet.h index 7f1e4399..fd24984e 100644 --- a/overlay_packet.h +++ b/overlay_packet.h @@ -151,7 +151,7 @@ DECLARE_SECTION(struct internal_binding, bindings); static struct internal_binding BIND ## FUNC IN_SECTION(bindings) = { \ .port = PORT, \ .function = FUNC, \ - .stats.name = #FUNC, \ + .stats = {.name = #FUNC, }, \ } #endif //__SERVAL_DNA__OVERLAY_PACKET_H