Rename "recording" to "training" (because there is no recording for now)

master
Marco Heiming 2022-01-12 11:24:04 +01:00
parent 4b8490645d
commit ffcdcbce6b
1 changed files with 5 additions and 5 deletions

View File

@ -69,7 +69,7 @@ function showMainMenu() {
menu["Do " + et.name] = function() { menu["Do " + et.name] = function() {
exerciseType = et; exerciseType = et;
E.showMenu(); E.showMenu();
startRecording(); startTraining();
}; };
}); });
@ -263,7 +263,7 @@ function reset() {
} }
function startRecording() { function startTraining() {
if (recordActive) return; if (recordActive) return;
g.clear(1); g.clear(1);
reset(); reset();
@ -319,7 +319,7 @@ function startRecording() {
type: "txt", type: "txt",
id: "recording", id: "recording",
font: "6x8:2", font: "6x8:2",
label: "RECORDING", label: "TRAINING",
bgCol: "#f00", bgCol: "#f00",
pad: 5, pad: 5,
fillx: 1 fillx: 1
@ -329,7 +329,7 @@ function startRecording() {
btns: [{ btns: [{
label: "STOP", label: "STOP",
cb: () => { cb: () => {
stopRecording(); stopTraining();
} }
}], }],
lazy: false lazy: false
@ -344,7 +344,7 @@ function startRecording() {
Bangle.buzz(200, 1); Bangle.buzz(200, 1);
} }
function stopRecording() { function stopTraining() {
if (!recordActive) return; if (!recordActive) return;
g.clear(1); g.clear(1);