{"action":"opened","issue":{"url":"https://api.github.com/repos/gc9n/rx5808-Diversity-RealAcc-Compatible/issues/9","repository_url":"https://api.github.com/repos/gc9n/rx5808-Diversity-RealAcc-Compatible","labels_url":"https://api.github.com/repos/gc9n/rx5808-Diversity-RealAcc-Compatible/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/gc9n/rx5808-Diversity-RealAcc-Compatible/issues/9/comments","events_url":"https://api.github.com/repos/gc9n/rx5808-Diversity-RealAcc-Compatible/issues/9/events","html_url":"https://github.com/gc9n/rx5808-Diversity-RealAcc-Compatible/issues/9","id":197281795,"number":9,"title":"Inconsistencies in channelTable[] values","user":{"login":"ethomas997","id":3822131,"avatar_url":"https://avatars.githubusercontent.com/u/3822131?v=3","gravatar_id":"","url":"https://api.github.com/users/ethomas997","html_url":"https://github.com/ethomas997","followers_url":"https://api.github.com/users/ethomas997/followers","following_url":"https://api.github.com/users/ethomas997/following{/other_user}","gists_url":"https://api.github.com/users/ethomas997/gists{/gist_id}","starred_url":"https://api.github.com/users/ethomas997/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethomas997/subscriptions","organizations_url":"https://api.github.com/users/ethomas997/orgs","repos_url":"https://api.github.com/users/ethomas997/repos","events_url":"https://api.github.com/users/ethomas997/events{/privacy}","received_events_url":"https://api.github.com/users/ethomas997/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-22T22:42:32Z","updated_at":"2016-12-22T22:42:32Z","closed_at":null,"body":"There are inconsistencies in the channelTable[] values for Band C Raceband:\r\n\r\n```\r\n#ifdef USE_LBAND\r\n  0x281d ,   0x2890 ,   0x2902 ,   0x2915 ,   0x2987 ,   0x299a ,  0x2a0c ,    0x2a1f,    // Band C / Immersion Raceband\r\n  0x2609,    0x261C,    0x268E,    0x2701,    0x2713,    0x2786,    0x2798,    0x280B     // Band D / 5.3\r\n#else\r\n  0x281D,    0x288F,    0x2902,    0x2914,    0x2987,    0x2999,    0x2A0C,    0x2A1E     // Band C / Immersion Raceband\r\n#endif\r\n```\r\n\r\nThe Band-C values in the USE_LBAND block should be the same as the ones in the '#else' (this will make it [like in the upstream project](https://github.com/sheaivey/rx5808-pro-diversity/blob/master/src/rx5808-pro-diversity/rx5808-pro-diversity.ino#L61)).  So, it should be like this:\r\n\r\n```\r\n// Channels to sent to the SPI registers\r\nconst uint16_t channelTable[] PROGMEM = {\r\n  // Channel 1 - 8\r\n  0x2A05,    0x299B,    0x2991,    0x2987,    0x291D,    0x2913,    0x2909,    0x289F,    // Band A\r\n  0x2903,    0x290C,    0x2916,    0x291F,    0x2989,    0x2992,    0x299C,    0x2A05,    // Band B\r\n  0x2895,    0x288B,    0x2881,    0x2817,    0x2A0F,    0x2A19,    0x2A83,    0x2A8D,    // Band E\r\n  0x2906,    0x2910,    0x291A,    0x2984,    0x298E,    0x2998,    0x2A02,    0x2A0C,    // Band F / Airwave\r\n#ifdef USE_LBAND\r\n  0x281D,    0x288F,    0x2902,    0x2914,    0x2987,    0x2999,    0x2A0C,    0x2A1E,    // Band C / Immersion Raceband\r\n  0x2609,    0x261C,    0x268E,    0x2701,    0x2713,    0x2786,    0x2798,    0x280B     // Band D / 5.3\r\n#else\r\n  0x281D,    0x288F,    0x2902,    0x2914,    0x2987,    0x2999,    0x2A0C,    0x2A1E     // Band C / Immersion Raceband\r\n#endif\r\n};\r\n```\r\n\r\n--ET"}}
{"actor":{"display_login":"ethomas997"}}