{"action":"created","comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments/23314728","id":23314728,"diff_hunk":"@@ -0,0 +1,321 @@\n+/*\n+ * Copyright (C) 2015 PHYTEC Messtechnik GmbH\n+ *\n+ * This file is subject to the terms and conditions of the GNU Lesser General\n+ * Public License v2.1. See the file LICENSE in the top level directory for more\n+ * details.\n+ */\n+\n+/**\n+ * @ingroup     drivers_kw2xrf\n+ * @{\n+ * @file        kw2xrf_tx.c\n+ * @brief       Transmit functionality of kw2xrf driver\n+ *\n+ * @author      Johann Fischer <j.fischer@phytec.de>\n+ * @author      Jonas Remmert <j.remmert@phytec.de>\n+ */\n+#include <stdio.h>\n+\n+#include \"kw2xrf.h\"\n+#include \"kw2xrf_reg.h\"\n+#include \"kw2xrf_spi.h\"\n+#include \"kw2xrf_internal.h\"\n+#include \"ieee802154_frame.h\"\n+\n+#include \"irq.h\"\n+#include \"hwtimer.h\"\n+\n+#define ENABLE_DEBUG    (1)","path":"drivers/kw2xrf/kw2xrf_tx.c","position":29,"original_position":29,"commit_id":"94952901bb9f499d83a7d016e43cc94b622559f4","original_commit_id":"94952901bb9f499d83a7d016e43cc94b622559f4","user":{"login":"thomaseichinger","id":56618,"avatar_url":"https://avatars.githubusercontent.com/u/56618?v=3","gravatar_id":"","url":"https://api.github.com/users/thomaseichinger","html_url":"https://github.com/thomaseichinger","followers_url":"https://api.github.com/users/thomaseichinger/followers","following_url":"https://api.github.com/users/thomaseichinger/following{/other_user}","gists_url":"https://api.github.com/users/thomaseichinger/gists{/gist_id}","starred_url":"https://api.github.com/users/thomaseichinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomaseichinger/subscriptions","organizations_url":"https://api.github.com/users/thomaseichinger/orgs","repos_url":"https://api.github.com/users/thomaseichinger/repos","events_url":"https://api.github.com/users/thomaseichinger/events{/privacy}","received_events_url":"https://api.github.com/users/thomaseichinger/received_events","type":"User","site_admin":false},"body":"Please turn DEBUG off.","created_at":"2015-01-21T17:00:43Z","updated_at":"2015-01-21T17:00:43Z","html_url":"https://github.com/RIOT-OS/RIOT/pull/2329#discussion_r23314728","pull_request_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2329","_links":{"self":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments/23314728"},"html":{"href":"https://github.com/RIOT-OS/RIOT/pull/2329#discussion_r23314728"},"pull_request":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2329"}}},"pull_request":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2329","id":27678624,"html_url":"https://github.com/RIOT-OS/RIOT/pull/2329","diff_url":"https://github.com/RIOT-OS/RIOT/pull/2329.diff","patch_url":"https://github.com/RIOT-OS/RIOT/pull/2329.patch","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2329","number":2329,"state":"open","locked":false,"title":"driver: RIOT port for the Freescale kw2x radio","user":{"login":"jremmert-phytec-iot","id":9881210,"avatar_url":"https://avatars.githubusercontent.com/u/9881210?v=3","gravatar_id":"","url":"https://api.github.com/users/jremmert-phytec-iot","html_url":"https://github.com/jremmert-phytec-iot","followers_url":"https://api.github.com/users/jremmert-phytec-iot/followers","following_url":"https://api.github.com/users/jremmert-phytec-iot/following{/other_user}","gists_url":"https://api.github.com/users/jremmert-phytec-iot/gists{/gist_id}","starred_url":"https://api.github.com/users/jremmert-phytec-iot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jremmert-phytec-iot/subscriptions","organizations_url":"https://api.github.com/users/jremmert-phytec-iot/orgs","repos_url":"https://api.github.com/users/jremmert-phytec-iot/repos","events_url":"https://api.github.com/users/jremmert-phytec-iot/events{/privacy}","received_events_url":"https://api.github.com/users/jremmert-phytec-iot/received_events","type":"User","site_admin":false},"body":"This PR adds support for Freescale KW2x radio. The driver uses the new netdev interface exclusively, the old transceiver interface is not supported.\r\n\r\nThis PR depends on #2059 and #2188.","created_at":"2015-01-20T13:51:50Z","updated_at":"2015-01-21T17:00:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1d6801d17484352cc630d1545f8a7164fed00a3f","assignee":{"login":"thomaseichinger","id":56618,"avatar_url":"https://avatars.githubusercontent.com/u/56618?v=3","gravatar_id":"","url":"https://api.github.com/users/thomaseichinger","html_url":"https://github.com/thomaseichinger","followers_url":"https://api.github.com/users/thomaseichinger/followers","following_url":"https://api.github.com/users/thomaseichinger/following{/other_user}","gists_url":"https://api.github.com/users/thomaseichinger/gists{/gist_id}","starred_url":"https://api.github.com/users/thomaseichinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomaseichinger/subscriptions","organizations_url":"https://api.github.com/users/thomaseichinger/orgs","repos_url":"https://api.github.com/users/thomaseichinger/repos","events_url":"https://api.github.com/users/thomaseichinger/events{/privacy}","received_events_url":"https://api.github.com/users/thomaseichinger/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2329/commits","review_comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2329/comments","review_comment_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments/{number}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2329/comments","statuses_url":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/94952901bb9f499d83a7d016e43cc94b622559f4","head":{"label":"jremmert-phytec-iot:pr@kw2x-rf","ref":"pr@kw2x-rf","sha":"94952901bb9f499d83a7d016e43cc94b622559f4","user":{"login":"jremmert-phytec-iot","id":9881210,"avatar_url":"https://avatars.githubusercontent.com/u/9881210?v=3","gravatar_id":"","url":"https://api.github.com/users/jremmert-phytec-iot","html_url":"https://github.com/jremmert-phytec-iot","followers_url":"https://api.github.com/users/jremmert-phytec-iot/followers","following_url":"https://api.github.com/users/jremmert-phytec-iot/following{/other_user}","gists_url":"https://api.github.com/users/jremmert-phytec-iot/gists{/gist_id}","starred_url":"https://api.github.com/users/jremmert-phytec-iot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jremmert-phytec-iot/subscriptions","organizations_url":"https://api.github.com/users/jremmert-phytec-iot/orgs","repos_url":"https://api.github.com/users/jremmert-phytec-iot/repos","events_url":"https://api.github.com/users/jremmert-phytec-iot/events{/privacy}","received_events_url":"https://api.github.com/users/jremmert-phytec-iot/received_events","type":"User","site_admin":false},"repo":{"id":29531708,"name":"RIOT","full_name":"jremmert-phytec-iot/RIOT","owner":{"login":"jremmert-phytec-iot","id":9881210,"avatar_url":"https://avatars.githubusercontent.com/u/9881210?v=3","gravatar_id":"","url":"https://api.github.com/users/jremmert-phytec-iot","html_url":"https://github.com/jremmert-phytec-iot","followers_url":"https://api.github.com/users/jremmert-phytec-iot/followers","following_url":"https://api.github.com/users/jremmert-phytec-iot/following{/other_user}","gists_url":"https://api.github.com/users/jremmert-phytec-iot/gists{/gist_id}","starred_url":"https://api.github.com/users/jremmert-phytec-iot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jremmert-phytec-iot/subscriptions","organizations_url":"https://api.github.com/users/jremmert-phytec-iot/orgs","repos_url":"https://api.github.com/users/jremmert-phytec-iot/repos","events_url":"https://api.github.com/users/jremmert-phytec-iot/events{/privacy}","received_events_url":"https://api.github.com/users/jremmert-phytec-iot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jremmert-phytec-iot/RIOT","description":"RIOT -  The friendly OS for IoT","fork":true,"url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT","forks_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/forks","keys_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/teams","hooks_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/hooks","issue_events_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/issues/events{/number}","events_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/events","assignees_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/assignees{/user}","branches_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/branches{/branch}","tags_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/tags","blobs_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/git/refs{/sha}","trees_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/statuses/{sha}","languages_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/languages","stargazers_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/stargazers","contributors_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/contributors","subscribers_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/subscribers","subscription_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/subscription","commits_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/commits{/sha}","git_commits_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/git/commits{/sha}","comments_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/comments{/number}","issue_comment_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/issues/comments/{number}","contents_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/contents/{+path}","compare_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/merges","archive_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/downloads","issues_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/issues{/number}","pulls_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/pulls{/number}","milestones_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/milestones{/number}","notifications_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/labels{/name}","releases_url":"https://api.github.com/repos/jremmert-phytec-iot/RIOT/releases{/id}","created_at":"2015-01-20T13:44:15Z","updated_at":"2015-01-20T13:44:23Z","pushed_at":"2015-01-20T13:45:06Z","git_url":"git://github.com/jremmert-phytec-iot/RIOT.git","ssh_url":"git@github.com:jremmert-phytec-iot/RIOT.git","clone_url":"https://github.com/jremmert-phytec-iot/RIOT.git","svn_url":"https://github.com/jremmert-phytec-iot/RIOT","homepage":"https://github.com/RIOT-OS/RIOT/wiki","size":13506,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"RIOT-OS:master","ref":"master","sha":"bccc2e5d4343a4cdc73c77eb9e2c377e933b9986","user":{"login":"RIOT-OS","id":3079480,"avatar_url":"https://avatars.githubusercontent.com/u/3079480?v=3","gravatar_id":"","url":"https://api.github.com/users/RIOT-OS","html_url":"https://github.com/RIOT-OS","followers_url":"https://api.github.com/users/RIOT-OS/followers","following_url":"https://api.github.com/users/RIOT-OS/following{/other_user}","gists_url":"https://api.github.com/users/RIOT-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RIOT-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RIOT-OS/subscriptions","organizations_url":"https://api.github.com/users/RIOT-OS/orgs","repos_url":"https://api.github.com/users/RIOT-OS/repos","events_url":"https://api.github.com/users/RIOT-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RIOT-OS/received_events","type":"Organization","site_admin":false},"repo":{"id":7370241,"name":"RIOT","full_name":"RIOT-OS/RIOT","owner":{"login":"RIOT-OS","id":3079480,"avatar_url":"https://avatars.githubusercontent.com/u/3079480?v=3","gravatar_id":"","url":"https://api.github.com/users/RIOT-OS","html_url":"https://github.com/RIOT-OS","followers_url":"https://api.github.com/users/RIOT-OS/followers","following_url":"https://api.github.com/users/RIOT-OS/following{/other_user}","gists_url":"https://api.github.com/users/RIOT-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RIOT-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RIOT-OS/subscriptions","organizations_url":"https://api.github.com/users/RIOT-OS/orgs","repos_url":"https://api.github.com/users/RIOT-OS/repos","events_url":"https://api.github.com/users/RIOT-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RIOT-OS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RIOT-OS/RIOT","description":"RIOT -  The friendly OS for IoT","fork":false,"url":"https://api.github.com/repos/RIOT-OS/RIOT","forks_url":"https://api.github.com/repos/RIOT-OS/RIOT/forks","keys_url":"https://api.github.com/repos/RIOT-OS/RIOT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RIOT-OS/RIOT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RIOT-OS/RIOT/teams","hooks_url":"https://api.github.com/repos/RIOT-OS/RIOT/hooks","issue_events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/events{/number}","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/events","assignees_url":"https://api.github.com/repos/RIOT-OS/RIOT/assignees{/user}","branches_url":"https://api.github.com/repos/RIOT-OS/RIOT/branches{/branch}","tags_url":"https://api.github.com/repos/RIOT-OS/RIOT/tags","blobs_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/refs{/sha}","trees_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/{sha}","languages_url":"https://api.github.com/repos/RIOT-OS/RIOT/languages","stargazers_url":"https://api.github.com/repos/RIOT-OS/RIOT/stargazers","contributors_url":"https://api.github.com/repos/RIOT-OS/RIOT/contributors","subscribers_url":"https://api.github.com/repos/RIOT-OS/RIOT/subscribers","subscription_url":"https://api.github.com/repos/RIOT-OS/RIOT/subscription","commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/commits{/sha}","git_commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/commits{/sha}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/comments{/number}","issue_comment_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments/{number}","contents_url":"https://api.github.com/repos/RIOT-OS/RIOT/contents/{+path}","compare_url":"https://api.github.com/repos/RIOT-OS/RIOT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RIOT-OS/RIOT/merges","archive_url":"https://api.github.com/repos/RIOT-OS/RIOT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RIOT-OS/RIOT/downloads","issues_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues{/number}","pulls_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls{/number}","milestones_url":"https://api.github.com/repos/RIOT-OS/RIOT/milestones{/number}","notifications_url":"https://api.github.com/repos/RIOT-OS/RIOT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/labels{/name}","releases_url":"https://api.github.com/repos/RIOT-OS/RIOT/releases{/id}","created_at":"2012-12-29T20:38:40Z","updated_at":"2015-01-21T14:07:54Z","pushed_at":"2015-01-21T13:20:28Z","git_url":"git://github.com/RIOT-OS/RIOT.git","ssh_url":"git@github.com:RIOT-OS/RIOT.git","clone_url":"https://github.com/RIOT-OS/RIOT.git","svn_url":"https://github.com/RIOT-OS/RIOT","homepage":"https://github.com/RIOT-OS/RIOT/wiki","size":80749,"stargazers_count":239,"watchers_count":239,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":197,"mirror_url":null,"open_issues_count":268,"forks":197,"open_issues":268,"watchers":239,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2329"},"html":{"href":"https://github.com/RIOT-OS/RIOT/pull/2329"},"issue":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2329"},"comments":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2329/comments"},"review_comments":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2329/comments"},"review_comment":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2329/commits"},"statuses":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/94952901bb9f499d83a7d016e43cc94b622559f4"}}}}