Cosmetics
This commit is contained in:
@@ -68,7 +68,7 @@ end
|
|||||||
-- Redraw the current page
|
-- Redraw the current page
|
||||||
local function redrawPage()
|
local function redrawPage()
|
||||||
lcd.clear()
|
lcd.clear()
|
||||||
lcd.drawScreenTitle("S8R", 0, 0)
|
lcd.drawScreenTitle("S6R", 0, 0)
|
||||||
|
|
||||||
if refreshIndex < #fields then
|
if refreshIndex < #fields then
|
||||||
drawProgressBar()
|
drawProgressBar()
|
||||||
|
|||||||
@@ -43,11 +43,9 @@ const pm_uchar font_5x7[] PROGMEM = {
|
|||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(BOLD_FONT)
|
|
||||||
const pm_uchar font_5x7_B[] PROGMEM = {
|
const pm_uchar font_5x7_B[] PROGMEM = {
|
||||||
#include "font_05x07_B_compressed.lbm"
|
#include "font_05x07_B_compressed.lbm"
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(BOOT)
|
#if !defined(BOOT)
|
||||||
const pm_uchar font_10x14[] PROGMEM = {
|
const pm_uchar font_10x14[] PROGMEM = {
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../../opentx.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
uint8_t switchToMix(uint8_t source)
|
uint8_t switchToMix(uint8_t source)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../../opentx.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
void menuGeneralCustomFunctions(uint8_t event)
|
void menuGeneralCustomFunctions(uint8_t event)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../../opentx.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
void displayKeyState(uint8_t x, uint8_t y, EnumKeys key)
|
void displayKeyState(uint8_t x, uint8_t y, EnumKeys key)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../../opentx.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
enum menuGeneralHwItems {
|
enum menuGeneralHwItems {
|
||||||
ITEM_SETUP_HW_LABEL_STICKS,
|
ITEM_SETUP_HW_LABEL_STICKS,
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../../opentx.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
#define REFRESH_FILES() do { reusableBuffer.sdmanager.offset = 65535; menuVerticalPosition = 0; } while(0)
|
#define REFRESH_FILES() do { reusableBuffer.sdmanager.offset = 65535; menuVerticalPosition = 0; } while(0)
|
||||||
#define NODE_TYPE(fname) fname[SD_SCREEN_FILE_LENGTH+1]
|
#define NODE_TYPE(fname) fname[SD_SCREEN_FILE_LENGTH+1]
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../../opentx.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
void backupEeprom()
|
void backupEeprom()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../../opentx.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
#if MENU_COLUMNS > 1
|
#if MENU_COLUMNS > 1
|
||||||
uint8_t editDelay(const coord_t x, const coord_t y, const uint8_t event, const uint8_t attr, const pm_char *str, uint8_t delay)
|
uint8_t editDelay(const coord_t x, const coord_t y, const uint8_t event, const uint8_t attr, const pm_char *str, uint8_t delay)
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../../opentx.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
uint8_t s_curveChan;
|
uint8_t s_curveChan;
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../../opentx.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
void editGVarValue(coord_t x, coord_t y, uint8_t event, uint8_t gvar, uint8_t flightMode, LcdFlags flags)
|
void editGVarValue(coord_t x, coord_t y, uint8_t event, uint8_t gvar, uint8_t flightMode, LcdFlags flags)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../../opentx.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
const char *warningText = NULL;
|
const char *warningText = NULL;
|
||||||
const char *warningInfoText;
|
const char *warningInfoText;
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../../opentx.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
const pm_uchar about_bmp[] PROGMEM = {
|
const pm_uchar about_bmp[] PROGMEM = {
|
||||||
#include "../../bitmaps/taranis/about.lbm"
|
#include "../../bitmaps/taranis/about.lbm"
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../../opentx.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
#define TEXT_FILE_MAXSIZE 2048
|
#define TEXT_FILE_MAXSIZE 2048
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user