btadv: drop accel button

pull/2912/head
Rob Pilling 2023-08-08 08:14:48 +01:00
parent 99b72333e5
commit 6a4c1f2c27
1 changed files with 1 additions and 11 deletions

View File

@ -130,8 +130,7 @@ const settings: BtAdvMap<boolean> = {
mag: false,
};
const idToName: BtAdvMap<string, true> = {
acc: "Acceleration",
const idToName: BtAdvMap<string> = {
bar: "Barometer",
gps: "GPS",
hrm: "HRM",
@ -223,15 +222,6 @@ const btnLayout = new Layout(
{
type: "h",
c: [
{
type: "btn",
label: idToName.acc,
id: "acc",
cb: () => {},
...btnStyle,
col: colour.on,
btnBorder: colour.on,
},
{
type: "btn",
label: "Back",