Skip to content

Commit 22baa52

Browse files
committed
cleaned up some logs
1 parent d6b67ec commit 22baa52

File tree

4 files changed

+0
-11
lines changed

4 files changed

+0
-11
lines changed

src/scene/intro_animation.c

-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ void render_intro_screen(void *data) {
5959
}
6060

6161
static bool animation_done(GameState *state) {
62-
FURI_LOG_W("DELTA", "%f", (double)state->delta_time);
6362
accumulated_delta += state->delta_time * 4;
6463
vector_lerp(&(animation_from), &animation_target, accumulated_delta,
6564
&(state->animated_card.position));

src/util/helpers.c

-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ float lerp_number(float a, float b, float t) {
1212
return (1 - t) * a + t * b;
1313
}
1414

15-
void _log_location(const char *p, const char *file, int line, const char *func) {
16-
FURI_LOG_W("App", "[TRACE][%s] %s:%s():%i", p, get_basename((char *) file), func, line);
17-
}
18-
1915
bool _test_ptr(void *p) {
2016
return p != NULL;
2117
}

src/util/helpers.h

-5
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,11 @@
1111

1212
#ifdef DEBUG_BUILD
1313
#define check_pointer(X) _check_ptr( X, __FILE__, __LINE__, __FUNCTION__)
14-
#define log_location(X) _log_location( X, __FILE__, __LINE__, __FUNCTION__)
1514
#else
1615
#define check_pointer(X) _test_ptr(X)
1716
#define trace(X) while(0)
1817
#endif
1918

20-
#define CHECK_HEAP() FURI_LOG_I("Solitaire", "Free/total heap: %zu / %zu", memmgr_get_free_heap(), memmgr_get_total_heap())
21-
22-
2319
char *get_basename(const char *path);
2420

2521
#ifndef basename
@@ -30,7 +26,6 @@ bool _test_ptr(void *p);
3026

3127
bool _check_ptr(void *p, const char *file, int line, const char *func);
3228

33-
void _log_location(const char *p, const char *file, int line, const char *func);
3429

3530
float inverse_tanh(double x);
3631

src/util/list.c

-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ void list_free_data(List *list) {
4545
void list_clear(List *list) {
4646
if (list == NULL) return;
4747
ListItem *start = list->head;
48-
FURI_LOG_W("LIST", "list_clear");
4948
while (start) {
5049
ListItem *next = start->next;
5150
free(start);

0 commit comments

Comments
 (0)