From 3713406ad87e24982c52854ca59add9be36c7119 Mon Sep 17 00:00:00 2001 From: Reed Nightingale Date: Wed, 1 Jan 2020 11:58:28 -0800 Subject: [PATCH] Clean up button indentation --- ubitx_ui.cpp | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/ubitx_ui.cpp b/ubitx_ui.cpp index c468e79..722484b 100644 --- a/ubitx_ui.cpp +++ b/ubitx_ui.cpp @@ -15,23 +15,23 @@ struct Button { #define MAX_BUTTONS 17 const struct Button btn_set[MAX_BUTTONS] PROGMEM = { //const struct Button btn_set [] = { - {0, 10, 159, 36, "VFOA", "A"}, + { 0, 10, 159, 36, "VFOA", "A"}, {160, 10, 159, 36, "VFOB", "B"}, - {0, 80, 60, 36, "RIT", "R"}, - {64, 80, 60, 36, "USB", "U"}, + { 0, 80, 60, 36, "RIT", "R"}, + { 64, 80, 60, 36, "USB", "U"}, {128, 80, 60, 36, "LSB", "L"}, {192, 80, 60, 36, "CW", "M"}, {256, 80, 60, 36, "SPL", "S"}, - {0, 120, 60, 36, "80", "8"}, - {64, 120, 60, 36, "40", "4"}, + { 0, 120, 60, 36, "80", "8"}, + { 64, 120, 60, 36, "40", "4"}, {128, 120, 60, 36, "30", "3"}, {192, 120, 60, 36, "20", "2"}, {256, 120, 60, 36, "17", "7"}, - {0, 160, 60, 36, "15", "5"}, - {64, 160, 60, 36, "10", "1"}, + { 0, 160, 60, 36, "15", "5"}, + { 64, 160, 60, 36, "10", "1"}, {128, 160, 60, 36, "WPM", "W"}, {192, 160, 60, 36, "TON", "T"}, {256, 160, 60, 36, "FRQ", "F"}, @@ -39,23 +39,23 @@ const struct Button btn_set[MAX_BUTTONS] PROGMEM = { #define MAX_KEYS 17 const struct Button keypad[MAX_KEYS] PROGMEM = { - {0, 80, 60, 36, "1", "1"}, - {64, 80, 60, 36, "2", "2"}, + { 0, 80, 60, 36, "1", "1"}, + { 64, 80, 60, 36, "2", "2"}, {128, 80, 60, 36, "3", "3"}, - {192, 80, 60, 36, "", ""}, - {256, 80, 60, 36, "OK", "K"}, + {192, 80, 60, 36, "", ""}, + {256, 80, 60, 36, "OK", "K"}, - {0, 120, 60, 36, "4", "4"}, - {64, 120, 60, 36, "5", "5"}, - {128, 120, 60, 36, "6", "6"}, - {192, 120, 60, 36, "0", "0"}, - {256, 120, 60, 36, "<-", "B"}, + { 0, 120, 60, 36, "4", "4"}, + { 64, 120, 60, 36, "5", "5"}, + {128, 120, 60, 36, "6", "6"}, + {192, 120, 60, 36, "0", "0"}, + {256, 120, 60, 36, "<-", "B"}, - {0, 160, 60, 36, "7", "7"}, - {64, 160, 60, 36, "8", "8"}, + { 0, 160, 60, 36, "7", "7"}, + { 64, 160, 60, 36, "8", "8"}, {128, 160, 60, 36, "9", "9"}, - {192, 160, 60, 36, "", ""}, - {256, 160, 60, 36, "Can", "C"}, + {192, 160, 60, 36, "", ""}, + {256, 160, 60, 36, "Can", "C"}, }; boolean getButton(char *text, struct Button *b){