{"action":"created","issue":{"url":"https://api.github.com/repos/MetalPhreak/ESP8266_SPI_Driver/issues/3","labels_url":"https://api.github.com/repos/MetalPhreak/ESP8266_SPI_Driver/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/MetalPhreak/ESP8266_SPI_Driver/issues/3/comments","events_url":"https://api.github.com/repos/MetalPhreak/ESP8266_SPI_Driver/issues/3/events","html_url":"https://github.com/MetalPhreak/ESP8266_SPI_Driver/issues/3","id":99420113,"number":3,"title":"spi_clock with pre/postdivider set to 0","user":{"login":"bkolb","id":355333,"avatar_url":"https://avatars.githubusercontent.com/u/355333?v=3","gravatar_id":"","url":"https://api.github.com/users/bkolb","html_url":"https://github.com/bkolb","followers_url":"https://api.github.com/users/bkolb/followers","following_url":"https://api.github.com/users/bkolb/following{/other_user}","gists_url":"https://api.github.com/users/bkolb/gists{/gist_id}","starred_url":"https://api.github.com/users/bkolb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkolb/subscriptions","organizations_url":"https://api.github.com/users/bkolb/orgs","repos_url":"https://api.github.com/users/bkolb/repos","events_url":"https://api.github.com/users/bkolb/events{/privacy}","received_events_url":"https://api.github.com/users/bkolb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-06T11:57:41Z","updated_at":"2015-11-04T04:03:10Z","closed_at":"2015-11-04T04:03:10Z","body":"In spi_clock  I can see the following line (107)\r\n```\r\n\tif((prediv==0)|(cntdiv==0)){\r\n```\r\n\r\nTo my understanding that should be changed to a logical OR, correct?"},"comment":{"url":"https://api.github.com/repos/MetalPhreak/ESP8266_SPI_Driver/issues/comments/153565662","html_url":"https://github.com/MetalPhreak/ESP8266_SPI_Driver/issues/3#issuecomment-153565662","issue_url":"https://api.github.com/repos/MetalPhreak/ESP8266_SPI_Driver/issues/3","id":153565662,"user":{"login":"MetalPhreak","id":7759721,"avatar_url":"https://avatars.githubusercontent.com/u/7759721?v=3","gravatar_id":"","url":"https://api.github.com/users/MetalPhreak","html_url":"https://github.com/MetalPhreak","followers_url":"https://api.github.com/users/MetalPhreak/followers","following_url":"https://api.github.com/users/MetalPhreak/following{/other_user}","gists_url":"https://api.github.com/users/MetalPhreak/gists{/gist_id}","starred_url":"https://api.github.com/users/MetalPhreak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MetalPhreak/subscriptions","organizations_url":"https://api.github.com/users/MetalPhreak/orgs","repos_url":"https://api.github.com/users/MetalPhreak/repos","events_url":"https://api.github.com/users/MetalPhreak/events{/privacy}","received_events_url":"https://api.github.com/users/MetalPhreak/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T04:03:10Z","updated_at":"2015-11-04T04:03:10Z","body":"Doesn't matter either way. \r\n\r\n(prediv==0) evaluates to 0 or 1\r\n(cntdiv==0) evaluates to 0 or 1\r\n\r\nIf either is 1, then | or || still gives a true result. "}}