From 8ba454bea92174241bf6205baacd3df4a6ceb1c1 Mon Sep 17 00:00:00 2001 From: Claudio Takahasi Date: Mon, 24 Mar 2014 16:25:34 -0300 Subject: [PATCH] Replace att_put_u32() by put_le32() --- profiles/cyclingspeed/cyclingspeed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/cyclingspeed/cyclingspeed.c b/profiles/cyclingspeed/cyclingspeed.c index 918f23759..12225323c 100644 --- a/profiles/cyclingspeed/cyclingspeed.c +++ b/profiles/cyclingspeed/cyclingspeed.c @@ -1167,7 +1167,7 @@ static DBusMessage *set_cumulative_wheel_rev(DBusConnection *conn, csc->pending_req = req; att_val[0] = SET_CUMULATIVE_VALUE; - att_put_u32(value, att_val + 1); + put_le32(value, att_val + 1); gatt_write_char(csc->attrib, csc->controlpoint_val_handle, att_val, sizeof(att_val), controlpoint_write_cb, req); -- 2.47.3