rdtech-tc/um: silence "missing field identifier" compiler warning
authorGerhard Sittig <gerhard.sittig@gmx.net>
Wed, 22 Dec 2021 12:51:02 +0000 (13:51 +0100)
committerGerhard Sittig <gerhard.sittig@gmx.net>
Wed, 22 Dec 2021 19:04:28 +0000 (20:04 +0100)
commit0988d4ae2d7a47258b1ec3278381a973aa12831e
tree51c52ccd24ff160712f975b5f6f172b7e0b5f816
parentd65f51bf5c549e5dbacb5c6fb6636e482ff02da8
rdtech-tc/um: silence "missing field identifier" compiler warning

There are rather conservative build setups which complain about missing
fields in initializers. Rephrase the profile sentinels in the rdtech-tc
and rdtech-um drivers for maximum portability across toolchain setups.

  src/hardware/rdtech-um/protocol.c:45:10: warning: missing field 'spec' initializer [-Wmissing-field-initializers]
          { NULL, },
                  ^
src/hardware/rdtech-tc/protocol.c
src/hardware/rdtech-um/protocol.c