MYNEWT-391 STM32F4 ADC driver and ADC HAL support - Remove log handling from sblinky(experimental app) to resolve build errors
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/dfca2205 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/dfca2205 Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/dfca2205 Branch: refs/heads/sterly_refactor Commit: dfca22057430edad38fb98006d99cdd28c92bbf4 Parents: 28814b8 Author: Vipul Rahane <vi...@runtime.io> Authored: Wed Sep 21 22:23:31 2016 -0700 Committer: Vipul Rahane <vi...@runtime.io> Committed: Thu Sep 22 20:21:03 2016 -0700 ---------------------------------------------------------------------- apps/sblinky/src/main.c | 7 ------- 1 file changed, 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/dfca2205/apps/sblinky/src/main.c ---------------------------------------------------------------------- diff --git a/apps/sblinky/src/main.c b/apps/sblinky/src/main.c index 4277b70..2358c0d 100755 --- a/apps/sblinky/src/main.c +++ b/apps/sblinky/src/main.c @@ -22,7 +22,6 @@ #include "hal/hal_spi.h" #include "console/console.h" #include "shell/shell.h" -#include "log/log.h" #include "stats/stats.h" #include "config/config.h" #include <os/os_dev.h> @@ -91,9 +90,6 @@ static volatile int g_task1_loops; struct os_task task2; os_stack_t stack2[TASK2_STACK_SIZE]; -struct log_handler log_console_handler; -struct log my_log; - static volatile int g_task2_loops; /* Global test semaphore */ @@ -589,9 +585,6 @@ main(int argc, char **argv) os_init(); - /* Initialize the sblinky log. */ - log_console_handler_init(&log_console_handler); - log_register("sblinky", &my_log, &log_console_handler); #if 0 saadc_test(); #endif