{"action":"closed","issue":{"url":"https://api.github.com/repos/arduino/Arduino/issues/5350","repository_url":"https://api.github.com/repos/arduino/Arduino","labels_url":"https://api.github.com/repos/arduino/Arduino/issues/5350/labels{/name}","comments_url":"https://api.github.com/repos/arduino/Arduino/issues/5350/comments","events_url":"https://api.github.com/repos/arduino/Arduino/issues/5350/events","html_url":"https://github.com/arduino/Arduino/issues/5350","id":175427952,"number":5350,"title":"bitSet, bitClear & bitWrite do not work for long long data type","user":{"login":"Xriva2002","id":22028683,"avatar_url":"https://avatars.githubusercontent.com/u/22028683?v=3","gravatar_id":"","url":"https://api.github.com/users/Xriva2002","html_url":"https://github.com/Xriva2002","followers_url":"https://api.github.com/users/Xriva2002/followers","following_url":"https://api.github.com/users/Xriva2002/following{/other_user}","gists_url":"https://api.github.com/users/Xriva2002/gists{/gist_id}","starred_url":"https://api.github.com/users/Xriva2002/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xriva2002/subscriptions","organizations_url":"https://api.github.com/users/Xriva2002/orgs","repos_url":"https://api.github.com/users/Xriva2002/repos","events_url":"https://api.github.com/users/Xriva2002/events{/privacy}","received_events_url":"https://api.github.com/users/Xriva2002/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-07T07:03:39Z","updated_at":"2016-09-07T07:04:00Z","closed_at":"2016-09-07T07:04:00Z","body":"The bitSet, bitClear & bitWrite macros defined in Arduino.h do not support the long long (uint64_t) data type though bitRead is fine. The problem is simply fixed by changing the bitSet & bitClear macros from...\r\n`#define bitSet(value, bit) ((value) |= (1UL << (bit)))\r\n#define bitClear(value, bit) ((value) &= ~(1UL << (bit)))\r\n`\r\nto \r\n`#define bitSet(value, bit) ((value) |= (1ULL << (bit)))\r\n#define bitClear(value, bit) ((value) &= ~(1ULL << (bit)))\r\n`\r\n\r\n"}}
{"actor":{"display_login":"Xriva2002"}}