Skip to content

Commit

Permalink
Make device appearence use u16 instead of u32 as specified by the Blu…
Browse files Browse the repository at this point in the history
…eZ D-Bus Device API.
  • Loading branch information
ddtthh authored and surban committed Oct 21, 2021
1 parent 64c15c4 commit ec12c48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bluer/src/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,8 @@ define_properties!(

/// External appearance of device, as found on GAP service.
property(
Appearance, u32,
dbus: (INTERFACE, "Appearance", u32, OPTIONAL),
Appearance, u16,
dbus: (INTERFACE, "Appearance", u16, OPTIONAL),
get: (appearance, v => {v.to_owned()}),
);

Expand Down

0 comments on commit ec12c48

Please sign in to comment.