/* * Author - Bertrand Songis * * Based on th9x -> http://code.google.com/p/th9x/ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * */ #ifdef INIT_IMPORT #undef INIT_IMPORT #ifdef FRSKY frskyStreaming = 20; #endif #endif #ifdef SETVALUES_IMPORT #undef SETVALUES_IMPORT for (int i=0; iPIO_PDSR &= ~0x40; else PIOB->PIO_PDSR |= 0x40; #endif #endif #ifdef GETVALUES_IMPORT #undef GETVALUES_IMPORT memset(outputs.chans, 0, sizeof(outputs.chans)); memcpy(outputs.chans, g_chans512, sizeof(g_chans512)); for (int i=0; i