Dead code removed
This commit is contained in:
@@ -20,26 +20,6 @@
|
|||||||
|
|
||||||
#include "opentx.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
#if !defined GET_FAR_ADDRESS
|
|
||||||
#define GET_FAR_ADDRESS(var) \
|
|
||||||
({ \
|
|
||||||
uint32_t tmp; \
|
|
||||||
\
|
|
||||||
__asm__ __volatile__( \
|
|
||||||
\
|
|
||||||
"ldi %A0, lo8(%1)" "\n\t" \
|
|
||||||
"ldi %B0, hi8(%1)" "\n\t" \
|
|
||||||
"ldi %C0, hh8(%1)" "\n\t" \
|
|
||||||
"clr %D0" "\n\t" \
|
|
||||||
: \
|
|
||||||
"=d" (tmp) \
|
|
||||||
: \
|
|
||||||
"p" (&(var)) \
|
|
||||||
); \
|
|
||||||
tmp; \
|
|
||||||
})
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(SPLASH)
|
#if defined(SPLASH)
|
||||||
const unsigned char splashdata[] = {
|
const unsigned char splashdata[] = {
|
||||||
'S','P','S',0,
|
'S','P','S',0,
|
||||||
|
|||||||
Reference in New Issue
Block a user