{"comment":{"url":"https://api.github.com/repos/davidemoeller/MCN-Software/comments/15817600","html_url":"https://github.com/davidemoeller/MCN-Software/commit/a8e80106119ef706ac89b8e3a15170a2c7d49925#commitcomment-15817600","id":15817600,"user":{"login":"sharrington93","id":7423422,"avatar_url":"https://avatars.githubusercontent.com/u/7423422?v=3","gravatar_id":"","url":"https://api.github.com/users/sharrington93","html_url":"https://github.com/sharrington93","followers_url":"https://api.github.com/users/sharrington93/followers","following_url":"https://api.github.com/users/sharrington93/following{/other_user}","gists_url":"https://api.github.com/users/sharrington93/gists{/gist_id}","starred_url":"https://api.github.com/users/sharrington93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharrington93/subscriptions","organizations_url":"https://api.github.com/users/sharrington93/orgs","repos_url":"https://api.github.com/users/sharrington93/repos","events_url":"https://api.github.com/users/sharrington93/events{/privacy}","received_events_url":"https://api.github.com/users/sharrington93/received_events","type":"User","site_admin":false},"position":126,"line":177,"path":"team_src/SensorCov.c","commit_id":"a8e80106119ef706ac89b8e3a15170a2c7d49925","created_at":"2016-02-02T02:55:23Z","updated_at":"2016-02-02T02:55:23Z","body":"```\r\nint limits = 0;\r\nlimits += user_data.status_limit.U32 << 3;\r\nlimits += user_data.rpm_limit.U32 << 2;\r\nlimits += user_data.battery_limit.U32 << 1;\r\nlimits += user_data.throttle_lock.U32;\r\nlimits = ECanaMboxes.MBOX31.MDL.byte.BYTE0;\r\n```\r\nLooks like you have the right idea but you have your assignment backwards on the last line. You are taking the value in MDL.byte.BYTE0 and assigning it over all the work you just did to `limit`."}}