X-Git-Url: https://git.defcon.no/?a=blobdiff_plain;f=source%2FRCTXDuino%2FRCTXDuino.pde;fp=source%2FRCTXDuino%2FRCTXDuino.pde;h=0bc85626db0fc0992c86333e0fbb1029ae1a0151;hb=12dcaa4691c9b1b2f7c8873b51ff01f34886a5de;hp=0aff5890e0e7aed7efe261961dd976b9fdf5eb7f;hpb=efb03a4d8500df85aafdc0afb0d5f947d2ce5163;p=rctxduino diff --git a/source/RCTXDuino/RCTXDuino.pde b/source/RCTXDuino/RCTXDuino.pde index 0aff589..0bc8562 100644 --- a/source/RCTXDuino/RCTXDuino.pde +++ b/source/RCTXDuino/RCTXDuino.pde @@ -83,10 +83,10 @@ volatile bool do_channel = true; // Is next operation a channel or a sepa // The timing here (and/or in the ISR) needs to be tweaked to provide valid // RC PPM signals accepted by standard RC RX'es and the Microcopter... -#define framelength 21000 // Max length of frame -#define seplength 300 // Lenght of a channel separator -#define chmax 1550 // Max lenght of channel pulse -#define chmin 620 // Min length of channel +#define framelength 21500 // Max length of frame +#define seplength 250 // Lenght of a channel separator +#define chmax 1600 // Max lenght of channel pulse +#define chmin 480 // Min length of channel #define chwidht (chmax - chmin)// Useable time of channel pulse // ----------------- Menu/IU related stuffs -------------------- @@ -215,7 +215,7 @@ void model_defaults( void ) // data format changes. // NOTE: This means that stored model conficuration is reset // to defaults when the EEPROM version/format changes. - model.channels = 6; + model.channels = 8; model.rev[0] = model.rev[1] = model.rev[2] = model.rev[3] = model.rev[4] = model.rev[5] = model.rev[6] = model.rev[7] = false; model.dr[0] = model.dr[1] = model.dr[2] = model.dr[3] = 0;