Skip to content

Commit

Permalink
Rename DEBUG_COMMAND{,_YET} to TRACE{,_UNIMPLEMENTED}
Browse files Browse the repository at this point in the history
And now TRACE_UNIMPLEMENTED is not ignored in release build.
  • Loading branch information
kichikuou committed Jan 6, 2025
1 parent c2f11ec commit 84e3666
Show file tree
Hide file tree
Showing 51 changed files with 849 additions and 859 deletions.
6 changes: 3 additions & 3 deletions modules/AliceLogo/AliceLogo.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@ static void Init() {

*var = 1;

DEBUG_COMMAND_YET("AliceLogo.Init %d,%d,%d,%p:", p1, p2, p3, var);
TRACE_UNIMPLEMENTED("AliceLogo.Init %d,%d,%d,%p:", p1, p2, p3, var);
}

static void SetWaveNum() {
int p1 = getCaliValue();
int p2 = getCaliValue();

DEBUG_COMMAND_YET("AliceLogo.SetWaveNum %d,%d:", p1, p2);
TRACE_UNIMPLEMENTED("AliceLogo.SetWaveNum %d,%d:", p1, p2);
}

static void Run() {
int p1 = getCaliValue();
int p2 = getCaliValue();

DEBUG_COMMAND_YET("AliceLogo.Run %d,%d:", p1, p2);
TRACE_UNIMPLEMENTED("AliceLogo.Run %d,%d:", p1, p2);
}

static const ModuleFunc functions[] = {
Expand Down
8 changes: 4 additions & 4 deletions modules/Confirm/Confirm.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
static void Init() {
int p1 = getCaliValue();

DEBUG_COMMAND_YET("Confirm.Init %d:", p1);
TRACE_UNIMPLEMENTED("Confirm.Init %d:", p1);
}

static void ExistKeyFile() {
Expand All @@ -20,7 +20,7 @@ static void ExistKeyFile() {

*var = 1;

DEBUG_COMMAND_YET("Confirm.ExistKeyFile %s,%p,%p:",p1, p2, var);
TRACE_UNIMPLEMENTED("Confirm.ExistKeyFile %s,%p,%p:",p1, p2, var);
}

static void CheckProtectFile() {
Expand All @@ -30,7 +30,7 @@ static void CheckProtectFile() {

*var = 1;

DEBUG_COMMAND_YET("Confirm.CheckProtectFile %s,%p,%p:", p1,p2,var);
TRACE_UNIMPLEMENTED("Confirm.CheckProtectFile %s,%p,%p:", p1,p2,var);
}

static void CreateKeyFile() {
Expand All @@ -40,7 +40,7 @@ static void CreateKeyFile() {

*var = 1;

DEBUG_COMMAND_YET("Confirm.CreateKeyFile %s,%p,%p:", p1,p2,var);
TRACE_UNIMPLEMENTED("Confirm.CreateKeyFile %s,%p,%p:", p1,p2,var);
}

static const ModuleFunc functions[] = {
Expand Down
Loading

0 comments on commit 84e3666

Please sign in to comment.