{"action":"opened","issue":{"url":"https://api.github.com/repos/ShivanKaul/STEmbedded/issues/18","repository_url":"https://api.github.com/repos/ShivanKaul/STEmbedded","labels_url":"https://api.github.com/repos/ShivanKaul/STEmbedded/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/ShivanKaul/STEmbedded/issues/18/comments","events_url":"https://api.github.com/repos/ShivanKaul/STEmbedded/issues/18/events","html_url":"https://github.com/ShivanKaul/STEmbedded/issues/18","id":145259505,"number":18,"title":"Refactor HAL_SPI_MspInit  ","user":{"login":"deepaks4077","id":5383050,"avatar_url":"https://avatars.githubusercontent.com/u/5383050?v=3","gravatar_id":"","url":"https://api.github.com/users/deepaks4077","html_url":"https://github.com/deepaks4077","followers_url":"https://api.github.com/users/deepaks4077/followers","following_url":"https://api.github.com/users/deepaks4077/following{/other_user}","gists_url":"https://api.github.com/users/deepaks4077/gists{/gist_id}","starred_url":"https://api.github.com/users/deepaks4077/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepaks4077/subscriptions","organizations_url":"https://api.github.com/users/deepaks4077/orgs","repos_url":"https://api.github.com/users/deepaks4077/repos","events_url":"https://api.github.com/users/deepaks4077/events{/privacy}","received_events_url":"https://api.github.com/users/deepaks4077/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-01T19:01:54Z","updated_at":"2016-04-01T19:01:54Z","closed_at":null,"body":"This function is too lengthy. Should call 2 separate functions to init SPI1 and SPI2 depending on SPI_HandleTypeDef->Instance.\r\n\r\nAlso, move GPIO related definitions (preprocessing definitions)  to a separate header file."}}