You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2016/09/27 22:36:19 UTC

[03/10] incubator-mynewt-core git commit: MYNEWT-391 STM32F4 ADC driver and ADC HAL support

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/8b783b0b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/8b783b0b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/8b783b0b

Branch: refs/heads/develop
Commit: 8b783b0baa964e4f733fc34a26901d1cde52bd23
Parents: 619cf55
Author: Vipul Rahane <vi...@runtime.io>
Authored: Wed Sep 21 22:23:31 2016 -0700
Committer: Vipul Rahane <vi...@runtime.io>
Committed: Tue Sep 27 13:34:07 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/8b783b0b/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