Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 57fa4482 authored by William Escande's avatar William Escande
Browse files

Fix reorder-init-list in power telemetry

```
stack_power_telemetry.cc:518:7: warning: ISO C++ requires field
designators to be specified in declaration order;
field 'channel_type' will be initialized after field 'src'
[-Wreorder-init-list]
      .src.cid = static_cast<uint16_t>(src_id),
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stack_power_telemetry.cc:517:23: note: previous initialization for field
'channel_type' is here
      .channel_type = channel_type,
                      ^~~~~~~~~~~~
 ```

Bug: 297606425
Test: m Bluetooth | Only build needed no-op change
Change-Id: Ifad027799e58a93afb11ea97c54c30adefb104ea
parent 40bf9f85
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment