Tibor Tálosi 1 год назад
Родитель
Сommit
22baa527d0
4 измененных файлов с 0 добавлено и 11 удалено
  1. 0 1
      src/scene/intro_animation.c
  2. 0 4
      src/util/helpers.c
  3. 0 5
      src/util/helpers.h
  4. 0 1
      src/util/list.c

+ 0 - 1
src/scene/intro_animation.c

@@ -59,7 +59,6 @@ void render_intro_screen(void *data) {
 }
 
 static bool animation_done(GameState *state) {
-    FURI_LOG_W("DELTA", "%f", (double)state->delta_time);
     accumulated_delta += state->delta_time * 4;
     vector_lerp(&(animation_from), &animation_target, accumulated_delta,
                 &(state->animated_card.position));

+ 0 - 4
src/util/helpers.c

@@ -12,10 +12,6 @@ float lerp_number(float a, float b, float t) {
     return (1 - t) * a + t * b;
 }
 
-void _log_location(const char *p, const char *file, int line, const char *func) {
-    FURI_LOG_W("App", "[TRACE][%s] %s:%s():%i", p, get_basename((char *) file), func, line);
-}
-
 bool _test_ptr(void *p) {
     return p != NULL;
 }

+ 0 - 5
src/util/helpers.h

@@ -11,15 +11,11 @@
 
 #ifdef DEBUG_BUILD
 #define check_pointer(X) _check_ptr( X, __FILE__, __LINE__, __FUNCTION__)
-#define log_location(X) _log_location( X, __FILE__, __LINE__, __FUNCTION__)
 #else
 #define check_pointer(X) _test_ptr(X)
 #define trace(X) while(0)
 #endif
 
-#define CHECK_HEAP() FURI_LOG_I("Solitaire", "Free/total heap: %zu / %zu", memmgr_get_free_heap(), memmgr_get_total_heap())
-
-
 char *get_basename(const char *path);
 
 #ifndef basename
@@ -30,7 +26,6 @@ bool _test_ptr(void *p);
 
 bool _check_ptr(void *p, const char *file, int line, const char *func);
 
-void _log_location(const char *p, const char *file, int line, const char *func);
 
 float inverse_tanh(double x);
 

+ 0 - 1
src/util/list.c

@@ -45,7 +45,6 @@ void list_free_data(List *list) {
 void list_clear(List *list) {
     if (list == NULL) return;
     ListItem *start = list->head;
-    FURI_LOG_W("LIST", "list_clear");
     while (start) {
         ListItem *next = start->next;
         free(start);