Merge pull request #6016 from opentx/schwabe/removeAVR
Remove a lot more AVR specific code
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,48 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) OpenTX
|
||||
*
|
||||
* Based on code named
|
||||
* th9x - http://code.google.com/p/th9x
|
||||
* er9x - http://code.google.com/p/er9x
|
||||
* gruvin9x - http://code.google.com/p/gruvin9x
|
||||
*
|
||||
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#ifndef _PULSES_AVR_H_
|
||||
#define _PULSES_AVR_H_
|
||||
|
||||
extern uint8_t s_current_protocol[1];
|
||||
extern uint8_t s_pulses_paused;
|
||||
|
||||
extern uint8_t *pulses2MHzRPtr;
|
||||
extern uint8_t *pulses2MHzWPtr;
|
||||
|
||||
extern uint16_t nextMixerEndTime;
|
||||
|
||||
extern uint8_t moduleFlag[NUM_MODULES];
|
||||
|
||||
#define MAX_MIXER_DELTA (50*16) /* 50ms max as an interval between 2 mixer calculations */
|
||||
|
||||
void startPulses();
|
||||
inline bool pulsesStarted() { return s_current_protocol[0] != 255; }
|
||||
inline void pausePulses() { s_pulses_paused = true; }
|
||||
inline void resumePulses() { s_pulses_paused = false; }
|
||||
void setupPulses();
|
||||
void DSM2_Init();
|
||||
void DSM2_Done();
|
||||
|
||||
#define SEND_FAILSAFE_NOW()
|
||||
#define SEND_FAILSAFE_1S()
|
||||
|
||||
#endif // _PULSES_AVR_H_
|
||||
/*eof*/
|
||||
Reference in New Issue
Block a user