open9x replaced by opentx
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
+30
-30
@@ -320,14 +320,14 @@ F_CPU = 16000000
|
|||||||
FORMAT = ihex
|
FORMAT = ihex
|
||||||
|
|
||||||
# Target file name (without extension).
|
# Target file name (without extension).
|
||||||
TARGET = open9x
|
TARGET = opentx
|
||||||
|
|
||||||
# List C++ source files here. (C dependencies are automatically generated.)
|
# List C++ source files here. (C dependencies are automatically generated.)
|
||||||
SRC =
|
SRC =
|
||||||
STD_TTS_SRC = translations/tts_$(shell sh -c "echo $(TTS) | tr '[:upper:]' '[:lower:]'").cpp
|
STD_TTS_SRC = translations/tts_$(shell sh -c "echo $(TTS) | tr '[:upper:]' '[:lower:]'").cpp
|
||||||
TTS_SRC = $(shell sh -c "if test -f $(STD_TTS_SRC); then echo $(STD_TTS_SRC); else echo translations/tts_en.cpp; fi")
|
TTS_SRC = $(shell sh -c "if test -f $(STD_TTS_SRC); then echo $(STD_TTS_SRC); else echo translations/tts_en.cpp; fi")
|
||||||
|
|
||||||
CPPSRC = open9x.cpp $(PULSESSRC) stamp.cpp menus.cpp model_menus.cpp general_menus.cpp main_views.cpp statistics_views.cpp $(EEPROMSRC) lcd.cpp keys.cpp translations.cpp $(TTS_SRC)
|
CPPSRC = opentx.cpp $(PULSESSRC) stamp.cpp menus.cpp model_menus.cpp general_menus.cpp main_views.cpp statistics_views.cpp $(EEPROMSRC) lcd.cpp keys.cpp translations.cpp $(TTS_SRC)
|
||||||
|
|
||||||
ifeq ($(EXT), JETI)
|
ifeq ($(EXT), JETI)
|
||||||
CPPSRC += jeti.cpp
|
CPPSRC += jeti.cpp
|
||||||
@@ -874,7 +874,7 @@ MSG_CLEANING = Cleaning project:
|
|||||||
# Combine all necessary flags and optional flags.
|
# Combine all necessary flags and optional flags.
|
||||||
# Add target processor to flags.
|
# Add target processor to flags.
|
||||||
|
|
||||||
ARMCPPFLAGS = -c -mcpu=$(MCU) -mthumb -fomit-frame-pointer -fverbose-asm -Wa,-ahlms=open9x.lst -DRUN_FROM_FLASH=1 -O$(OPT) $(CPPFLAGS) $(GENDEPFLAGS)
|
ARMCPPFLAGS = -c -mcpu=$(MCU) -mthumb -fomit-frame-pointer -fverbose-asm -Wa,-ahlms=opentx.lst -DRUN_FROM_FLASH=1 -O$(OPT) $(CPPFLAGS) $(GENDEPFLAGS)
|
||||||
AVRCPPFLAGS = -mmcu=$(MCU) -I. -x c++ -O$(OPT) $(CPPFLAGS) $(GENDEPFLAGS) -fwhole-program
|
AVRCPPFLAGS = -mmcu=$(MCU) -I. -x c++ -O$(OPT) $(CPPFLAGS) $(GENDEPFLAGS) -fwhole-program
|
||||||
|
|
||||||
ifeq ($(ARCH), AVR)
|
ifeq ($(ARCH), AVR)
|
||||||
@@ -891,8 +891,8 @@ ifeq ($(ARCH), AVR)
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
MAJ_VER = ${shell sh -c "grep \"MAJ_VERS\" open9x.h | cut -d\ -f3 | egrep -o \"[[:digit:]]\""}
|
MAJ_VER = ${shell sh -c "grep \"MAJ_VERS\" opentx.h | cut -d\ -f3 | egrep -o \"[[:digit:]]\""}
|
||||||
MIN_VER = ${shell sh -c "grep \"MIN_VERS\" open9x.h | cut -d\ -f3"}
|
MIN_VER = ${shell sh -c "grep \"MIN_VERS\" opentx.h | cut -d\ -f3"}
|
||||||
|
|
||||||
# Default target.
|
# Default target.
|
||||||
all: begin gccversion sizebefore build sizeafter end
|
all: begin gccversion sizebefore build sizeafter end
|
||||||
@@ -917,35 +917,35 @@ lbm: font.lbm font_tiny.lbm font_small.lbm font_midsize.lbm font_dblsize.lbm sti
|
|||||||
stamp_header:
|
stamp_header:
|
||||||
@echo
|
@echo
|
||||||
@echo "Generate Version-stamp:"
|
@echo "Generate Version-stamp:"
|
||||||
@echo "//Automatically generated file (Makefile) - do not edit" > stamp-open9x.h
|
@echo "//Automatically generated file (Makefile) - do not edit" > stamp-opentx.h
|
||||||
@echo "#define DATE_STR \"`date +%Y-%m-%d`\"" >> stamp-open9x.h
|
@echo "#define DATE_STR \"`date +%Y-%m-%d`\"" >> stamp-opentx.h
|
||||||
@echo "#define TIME_STR \"`date +%H:%M:%S`\"" >> stamp-open9x.h
|
@echo "#define TIME_STR \"`date +%H:%M:%S`\"" >> stamp-opentx.h
|
||||||
@echo "#define SVN_STR \"open9x-r$(SVNREV)\"" >> stamp-open9x.h
|
@echo "#define SVN_STR \"opentx-r$(SVNREV)\"" >> stamp-opentx.h
|
||||||
@cat stamp-open9x.h
|
@cat stamp-opentx.h
|
||||||
|
|
||||||
stock-stamp:
|
stock-stamp:
|
||||||
@echo "#define DATE_STR \"`date +%Y-%m-%d`\"" > stamp-open9x-stock.txt
|
@echo "#define DATE_STR \"`date +%Y-%m-%d`\"" > stamp-opentx-stock.txt
|
||||||
@echo "#define TIME_STR \"`date +%H:%M:%S`\"" >> stamp-open9x-stock.txt
|
@echo "#define TIME_STR \"`date +%H:%M:%S`\"" >> stamp-opentx-stock.txt
|
||||||
@echo "#define SVN_VERS \"open9x-r$(SVNREV)\"" >> stamp-open9x-stock.txt
|
@echo "#define SVN_VERS \"opentx-r$(SVNREV)\"" >> stamp-opentx-stock.txt
|
||||||
@cat stamp-open9x-stock.txt
|
@cat stamp-opentx-stock.txt
|
||||||
|
|
||||||
stock128-stamp:
|
stock128-stamp:
|
||||||
@echo "#define DATE_STR \"`date +%Y-%m-%d`\"" > stamp-open9x-stock128.txt
|
@echo "#define DATE_STR \"`date +%Y-%m-%d`\"" > stamp-opentx-stock128.txt
|
||||||
@echo "#define TIME_STR \"`date +%H:%M:%S`\"" >> stamp-open9x-stock128.txt
|
@echo "#define TIME_STR \"`date +%H:%M:%S`\"" >> stamp-opentx-stock128.txt
|
||||||
@echo "#define SVN_VERS \"open9x-r$(SVNREV)\"" >> stamp-open9x-stock128.txt
|
@echo "#define SVN_VERS \"opentx-r$(SVNREV)\"" >> stamp-opentx-stock128.txt
|
||||||
@cat stamp-open9x-stock128.txt
|
@cat stamp-opentx-stock128.txt
|
||||||
|
|
||||||
v4-stamp:
|
v4-stamp:
|
||||||
@echo "#define DATE_STR \"`date +%Y-%m-%d`\"" > stamp-open9x-v4.txt
|
@echo "#define DATE_STR \"`date +%Y-%m-%d`\"" > stamp-opentx-v4.txt
|
||||||
@echo "#define TIME_STR \"`date +%H:%M:%S`\"" >> stamp-open9x-v4.txt
|
@echo "#define TIME_STR \"`date +%H:%M:%S`\"" >> stamp-opentx-v4.txt
|
||||||
@echo "#define SVN_VERS \"open9x-r$(SVNREV)\"" >> stamp-open9x-v4.txt
|
@echo "#define SVN_VERS \"opentx-r$(SVNREV)\"" >> stamp-opentx-v4.txt
|
||||||
@cat stamp-open9x-v4.txt
|
@cat stamp-opentx-v4.txt
|
||||||
|
|
||||||
arm-stamp:
|
arm-stamp:
|
||||||
@echo "#define DATE_STR \"`date +%Y-%m-%d`\"" > stamp-open9x-arm.txt
|
@echo "#define DATE_STR \"`date +%Y-%m-%d`\"" > stamp-opentx-arm.txt
|
||||||
@echo "#define TIME_STR \"`date +%H:%M:%S`\"" >> stamp-open9x-arm.txt
|
@echo "#define TIME_STR \"`date +%H:%M:%S`\"" >> stamp-opentx-arm.txt
|
||||||
@echo "#define SVN_VERS \"open9x-r$(SVNREV)\"" >> stamp-open9x-arm.txt
|
@echo "#define SVN_VERS \"opentx-r$(SVNREV)\"" >> stamp-opentx-arm.txt
|
||||||
@cat stamp-open9x-arm.txt
|
@cat stamp-opentx-arm.txt
|
||||||
|
|
||||||
font.lbm: font.xbm font_extra.xbm translations/font_se.xbm translations/font_de.xbm translations/font_it.xbm translations/font_cz.xbm translations/font_fr.xbm translations/font_es.xbm
|
font.lbm: font.xbm font_extra.xbm translations/font_se.xbm translations/font_de.xbm translations/font_it.xbm translations/font_cz.xbm translations/font_fr.xbm translations/font_es.xbm
|
||||||
@echo
|
@echo
|
||||||
@@ -1073,7 +1073,7 @@ else
|
|||||||
%.hex: %.elf
|
%.hex: %.elf
|
||||||
@echo
|
@echo
|
||||||
@echo $(MSG_FLASH) $@
|
@echo $(MSG_FLASH) $@
|
||||||
$(OBJCOPY) -O ihex open9x.elf open9x.hex
|
$(OBJCOPY) -O ihex opentx.elf opentx.hex
|
||||||
endif
|
endif
|
||||||
|
|
||||||
%.bin: %.elf
|
%.bin: %.elf
|
||||||
@@ -1155,14 +1155,14 @@ clean_list :
|
|||||||
$(REMOVE) *.d
|
$(REMOVE) *.d
|
||||||
$(REMOVE) *.lst
|
$(REMOVE) *.lst
|
||||||
$(REMOVE) allsrc.cpp
|
$(REMOVE) allsrc.cpp
|
||||||
$(REMOVE) stamp-open9x.h
|
$(REMOVE) stamp-opentx.h
|
||||||
|
|
||||||
#### Install
|
#### Install
|
||||||
|
|
||||||
DATE = ${shell sh -c "date +%F:%T" }
|
DATE = ${shell sh -c "date +%F:%T" }
|
||||||
AVRCOMMAND = $(AVRDUDE) $(AVRDEVICE)
|
AVRCOMMAND = $(AVRDUDE) $(AVRDEVICE)
|
||||||
|
|
||||||
WRITE_COMMAND = $(AVRCOMMAND) -U flash:w:open9x.hex:i
|
WRITE_COMMAND = $(AVRCOMMAND) -U flash:w:opentx.hex:i
|
||||||
ifeq ($(RESTORE_EEPROM), YES)
|
ifeq ($(RESTORE_EEPROM), YES)
|
||||||
BACKUP_EEPROM = YES
|
BACKUP_EEPROM = YES
|
||||||
ifeq ($(DOUBLE_WRITE_OK), YES)
|
ifeq ($(DOUBLE_WRITE_OK), YES)
|
||||||
@@ -1176,7 +1176,7 @@ ifeq ($(BACKUP_FLASH), YES)
|
|||||||
BACKUP_ARGS += -U eeprom:r:$(DATA_DIR)/eeprom-$(DATE).hex:i $(BACKUPFLASH)
|
BACKUP_ARGS += -U eeprom:r:$(DATA_DIR)/eeprom-$(DATE).hex:i $(BACKUPFLASH)
|
||||||
endif
|
endif
|
||||||
ifeq ($(BACKUP_EEPROM), YES)
|
ifeq ($(BACKUP_EEPROM), YES)
|
||||||
BACKUP_ARGS += -U flash:r:$(DATA_DIR)/open9x-$(DATE).hex:i
|
BACKUP_ARGS += -U flash:r:$(DATA_DIR)/opentx-$(DATE).hex:i
|
||||||
endif
|
endif
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
|
|||||||
+2
-2
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
#include "menus.h"
|
#include "menus.h"
|
||||||
|
|
||||||
#define NB_BUF 2
|
#define NB_BUF 2
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
+2
-2
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
// Must NOT be in flash, PDC needs a RAM source.
|
// Must NOT be in flash, PDC needs a RAM source.
|
||||||
// Amplitude reduced to 30% to allow for voice volume
|
// Amplitude reduced to 30% to allow for voice volume
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
+2
-2
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
audioQueue::audioQueue()
|
audioQueue::audioQueue()
|
||||||
{
|
{
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
+2
-2
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
uint8_t g_beepCnt;
|
uint8_t g_beepCnt;
|
||||||
uint8_t beepAgain = 0;
|
uint8_t beepAgain = 0;
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
+2
-2
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
const pm_char * bmpLoad(uint8_t *dest, const char *filename, const xcoord_t width, const uint8_t height)
|
const pm_char * bmpLoad(uint8_t *dest, const char *filename, const xcoord_t width, const uint8_t height)
|
||||||
{
|
{
|
||||||
|
|||||||
+2
-2
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../open9x.h"
|
#include "../opentx.h"
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include "fifo.h"
|
#include "fifo.h"
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
#include "inttypes.h"
|
#include "inttypes.h"
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
PACK(typedef struct {
|
PACK(typedef struct {
|
||||||
uint8_t destCh;
|
uint8_t destCh;
|
||||||
|
|||||||
+2
-2
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
#include "inttypes.h"
|
#include "inttypes.h"
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
+2
-2
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
#include "stdio.h"
|
#include "stdio.h"
|
||||||
#include "inttypes.h"
|
#include "inttypes.h"
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
+2
-2
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
#include "menus.h"
|
#include "menus.h"
|
||||||
|
|
||||||
// Enumerate FrSky packet codes
|
// Enumerate FrSky packet codes
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
const pm_uchar sticks[] PROGMEM = {
|
const pm_uchar sticks[] PROGMEM = {
|
||||||
#include "sticks.lbm"
|
#include "sticks.lbm"
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../open9x.h"
|
#include "../opentx.h"
|
||||||
|
|
||||||
#ifndef SIMU
|
#ifndef SIMU
|
||||||
inline void boardInit()
|
inline void boardInit()
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -41,7 +41,7 @@
|
|||||||
/* are platform dependent. */
|
/* are platform dependent. */
|
||||||
/*-----------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "../open9x.h"
|
#include "../opentx.h"
|
||||||
#include "../FatFs/diskio.h"
|
#include "../FatFs/diskio.h"
|
||||||
|
|
||||||
/* Definitions for MMC/SDC command */
|
/* Definitions for MMC/SDC command */
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
/*--------------------------------------------------------------------------*/
|
/*--------------------------------------------------------------------------*/
|
||||||
/* RTC controls */
|
/* RTC controls */
|
||||||
|
|
||||||
#include "../open9x.h"
|
#include "../opentx.h"
|
||||||
#include "../FatFs/integer.h"
|
#include "../FatFs/integer.h"
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
old DSM2 code) which seemed to much for the interrupt.
|
old DSM2 code) which seemed to much for the interrupt.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../open9x.h"
|
#include "../opentx.h"
|
||||||
|
|
||||||
// Start and stop bits need to be 2ms in duration. Start bit is low, stop bit is high
|
// Start and stop bits need to be 2ms in duration. Start bit is low, stop bit is high
|
||||||
#define SOMOSSBIT 5 //The 2ms of a stop/start bit
|
#define SOMOSSBIT 5 //The 2ms of a stop/start bit
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
+2
-2
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
void doMixerCalculations();
|
void doMixerCalculations();
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
hapticQueue::hapticQueue()
|
hapticQueue::hapticQueue()
|
||||||
{
|
{
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
+2
-2
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
uint8_t jetiRxBuffer[32];
|
uint8_t jetiRxBuffer[32];
|
||||||
uint8_t jetiReady;
|
uint8_t jetiReady;
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
+2
-2
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
uint8_t s_evt;
|
uint8_t s_evt;
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
uint8_t displayBuf[DISPLAY_BUF_SIZE];
|
uint8_t displayBuf[DISPLAY_BUF_SIZE];
|
||||||
#define DISPLAY_END (displayBuf+DISPLAY_PLAN_SIZE)
|
#define DISPLAY_END (displayBuf+DISPLAY_PLAN_SIZE)
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
+2
-2
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
#include "FatFs/ff.h"
|
#include "FatFs/ff.h"
|
||||||
|
|
||||||
FIL g_oLogFile = {0};
|
FIL g_oLogFile = {0};
|
||||||
|
|||||||
+2
-2
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
#if LCD_W >= 212
|
#if LCD_W >= 212
|
||||||
#define BIGSIZE MIDSIZE
|
#define BIGSIZE MIDSIZE
|
||||||
|
|||||||
+2
-2
@@ -18,7 +18,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
#include "menus.h"
|
#include "menus.h"
|
||||||
#include "serial.h"
|
#include "serial.h"
|
||||||
#include "mavlink.h"
|
#include "mavlink.h"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#include "../open9x.h"
|
#include "../opentx.h"
|
||||||
|
|
||||||
#define PIN_MODE_MASK 0x0003
|
#define PIN_MODE_MASK 0x0003
|
||||||
#define PIN_INPUT 0x0000
|
#define PIN_INPUT 0x0000
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
#define delay_1us() _delay_us(1)
|
#define delay_1us() _delay_us(1)
|
||||||
void delay_1_5us(int ms)
|
void delay_1_5us(int ms)
|
||||||
|
|||||||
+2
-2
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
pgofs_t s_pgOfs;
|
pgofs_t s_pgOfs;
|
||||||
int8_t s_editMode;
|
int8_t s_editMode;
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
+2
-2
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
#define WCHART 32
|
#define WCHART 32
|
||||||
#define X0 (LCD_W-WCHART-2)
|
#define X0 (LCD_W-WCHART-2)
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
void menuChannelsMonitor(uint8_t event)
|
void menuChannelsMonitor(uint8_t event)
|
||||||
{
|
{
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
+2
-2
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
#include "menus.h"
|
#include "menus.h"
|
||||||
|
|
||||||
#define LG_BUF 14
|
#define LG_BUF 14
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
#if defined(CPUARM)
|
#if defined(CPUARM)
|
||||||
#define MIXER_STACK_SIZE 500
|
#define MIXER_STACK_SIZE 500
|
||||||
@@ -3874,7 +3874,7 @@ uint16_t stack_free()
|
|||||||
#define OPEN9X_INIT_ARGS
|
#define OPEN9X_INIT_ARGS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
inline void open9xInit(OPEN9X_INIT_ARGS)
|
inline void opentxInit(OPEN9X_INIT_ARGS)
|
||||||
{
|
{
|
||||||
#if defined(PCBX9D)
|
#if defined(PCBX9D)
|
||||||
BACKLIGHT_ON();
|
BACKLIGHT_ON();
|
||||||
@@ -3995,7 +3995,7 @@ void mixerTask(void * pdata)
|
|||||||
|
|
||||||
void menusTask(void * pdata)
|
void menusTask(void * pdata)
|
||||||
{
|
{
|
||||||
open9xInit();
|
opentxInit();
|
||||||
|
|
||||||
while (pwrCheck() != e_power_off) {
|
while (pwrCheck() != e_power_off) {
|
||||||
perMain();
|
perMain();
|
||||||
@@ -4111,7 +4111,7 @@ int main(void)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(CPUARM)
|
#if !defined(CPUARM)
|
||||||
open9xInit(mcusr);
|
opentxInit(mcusr);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CPUARM)
|
#if defined(CPUARM)
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,8 +34,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef open9x_h
|
#ifndef opentx_h
|
||||||
#define open9x_h
|
#define opentx_h
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
+2
-2
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
uint8_t s_pulses_paused = 0;
|
uint8_t s_pulses_paused = 0;
|
||||||
uint8_t s_current_protocol = 255;
|
uint8_t s_current_protocol = 255;
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
+2
-2
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
uint16_t nextMixerEndTime = 0;
|
uint16_t nextMixerEndTime = 0;
|
||||||
#define SCHEDULE_MIXER_END(delay) nextMixerEndTime = getTmr16KHz() + (delay) - 2*16/*2ms*/
|
#define SCHEDULE_MIXER_END(delay) nextMixerEndTime = getTmr16KHz() + (delay) - 2*16/*2ms*/
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
+1
-1
@@ -12,7 +12,7 @@
|
|||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
#include "menus.h"
|
#include "menus.h"
|
||||||
|
|
||||||
#define CTIME_ROTARY_ANIM 500
|
#define CTIME_ROTARY_ANIM 500
|
||||||
|
|||||||
+2
-2
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
extern void rtcdriver_settime(struct gtm * t);
|
extern void rtcdriver_settime(struct gtm * t);
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
+1
-1
@@ -14,7 +14,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
#include "serial.h"
|
#include "serial.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
+2
-2
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
+2
-2
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -39,7 +39,7 @@
|
|||||||
#include "FXPNGImage.h"
|
#include "FXPNGImage.h"
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include "fxkeys.h"
|
#include "fxkeys.h"
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
#include "menus.h"
|
#include "menus.h"
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../open9x.h"
|
#include "../opentx.h"
|
||||||
|
|
||||||
uint16_t Analog_values[NUMBER_ANALOG];
|
uint16_t Analog_values[NUMBER_ANALOG];
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../open9x.h"
|
#include "../opentx.h"
|
||||||
|
|
||||||
uint32_t currentFrequency = 0;
|
uint32_t currentFrequency = 0;
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../open9x.h"
|
#include "../opentx.h"
|
||||||
#include "../fifo.h"
|
#include "../fifo.h"
|
||||||
|
|
||||||
void btSetBaudrate(uint32_t index)
|
void btSetBaudrate(uint32_t index)
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../open9x.h"
|
#include "../opentx.h"
|
||||||
|
|
||||||
#if defined(DEBUG) && !defined(SIMU)
|
#if defined(DEBUG) && !defined(SIMU)
|
||||||
void DEBUG_UART_Configure( uint32_t baudrate, uint32_t masterClock);
|
void DEBUG_UART_Configure( uint32_t baudrate, uint32_t masterClock);
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../open9x.h"
|
#include "../opentx.h"
|
||||||
|
|
||||||
volatile uint8_t buzzerCount ;
|
volatile uint8_t buzzerCount ;
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../open9x.h"
|
#include "../opentx.h"
|
||||||
|
|
||||||
int8_t coprocVolumeRequired ;
|
int8_t coprocVolumeRequired ;
|
||||||
uint8_t coprocVolumeReadPending ;
|
uint8_t coprocVolumeReadPending ;
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../open9x.h"
|
#include "../opentx.h"
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
#if !defined(SIMU)
|
#if !defined(SIMU)
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../open9x.h"
|
#include "../opentx.h"
|
||||||
|
|
||||||
uint32_t spi_PDC_action( register uint8_t *command, register uint8_t *tx, register uint8_t *rx, register uint32_t comlen, register uint32_t count )
|
uint32_t spi_PDC_action( register uint8_t *command, register uint8_t *tx, register uint8_t *rx, register uint32_t comlen, register uint32_t count )
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../open9x.h"
|
#include "../opentx.h"
|
||||||
|
|
||||||
void hapticOff()
|
void hapticOff()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../open9x.h"
|
#include "../opentx.h"
|
||||||
|
|
||||||
|
|
||||||
// keys:
|
// keys:
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
// LCD i/o pins
|
// LCD i/o pins
|
||||||
// LCD_RES PC27
|
// LCD_RES PC27
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../open9x.h"
|
#include "../opentx.h"
|
||||||
|
|
||||||
#ifndef SIMU
|
#ifndef SIMU
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../open9x.h"
|
#include "../opentx.h"
|
||||||
|
|
||||||
void init_main_ppm( uint32_t period, uint32_t out_enable )
|
void init_main_ppm( uint32_t period, uint32_t out_enable )
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../open9x.h"
|
#include "../opentx.h"
|
||||||
|
|
||||||
uint32_t pwrCheck()
|
uint32_t pwrCheck()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../open9x.h"
|
#include "../opentx.h"
|
||||||
|
|
||||||
void rotencInit()
|
void rotencInit()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../open9x.h"
|
#include "../opentx.h"
|
||||||
|
|
||||||
struct t_i2cTime
|
struct t_i2cTime
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
+3
-3
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,8 +34,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
#include "stamp-open9x.h"
|
#include "stamp-opentx.h"
|
||||||
|
|
||||||
#define STR2(s) #s
|
#define STR2(s) #s
|
||||||
#define DEFNUMSTR(s) STR2(s)
|
#define DEFNUMSTR(s) STR2(s)
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
void menuStatisticsView(uint8_t event)
|
void menuStatisticsView(uint8_t event)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../open9x.h"
|
#include "../opentx.h"
|
||||||
|
|
||||||
#if defined(ROTARY_ENCODER_NAVIGATION)
|
#if defined(ROTARY_ENCODER_NAVIGATION)
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
#define delay_1us() _delay_us(1)
|
#define delay_1us() _delay_us(1)
|
||||||
void delay_1_5us(int ms)
|
void delay_1_5us(int ms)
|
||||||
|
|||||||
+2
-2
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../open9x.h"
|
#include "../opentx.h"
|
||||||
|
|
||||||
struct t_voice Voice ;
|
struct t_voice Voice ;
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
+2
-2
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
MixData* setDest(uint8_t dch, uint8_t src, bool clear=false)
|
MixData* setDest(uint8_t dch, uint8_t src, bool clear=false)
|
||||||
{
|
{
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "open9x.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
#define ISTR(x) LEN_##x TR_##x
|
#define ISTR(x) LEN_##x TR_##x
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
* - Romolo Manfredini <romolo.manfredini@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* - Bertrand Songis <bsongis@gmail.com>
|
* - Bertrand Songis <bsongis@gmail.com>
|
||||||
* - Martin Hotar <mhotar@gmail.com>
|
* - Martin Hotar <mhotar@gmail.com>
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
* - Bertrand Songis <bsongis@gmail.com>
|
* - Bertrand Songis <bsongis@gmail.com>
|
||||||
* - Thomas Husterer
|
* - Thomas Husterer
|
||||||
*
|
*
|
||||||
* open9x is based on code named
|
* opentx is based on code named
|
||||||
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/,
|
||||||
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
* er9x by Erez Raviv: http://code.google.com/p/er9x/,
|
||||||
* and the original (and ongoing) project by
|
* and the original (and ongoing) project by
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user