mynewt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ccoll...@apache.org
Subject incubator-mynewt-core git commit: Oops - Remove debug code from previous commit.
Date Wed, 28 Sep 2016 20:12:38 GMT
Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/develop ac4d18e8e -> 797b3412d


Oops - Remove debug code from previous commit.


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

Branch: refs/heads/develop
Commit: 797b3412db4a8ed2134cf26ee68ddf80316f2c67
Parents: ac4d18e
Author: Christopher Collins <ccollins@apache.org>
Authored: Wed Sep 28 13:12:24 2016 -0700
Committer: Christopher Collins <ccollins@apache.org>
Committed: Wed Sep 28 13:12:24 2016 -0700

----------------------------------------------------------------------
 libs/console/full/src/cons_tty.c | 7 -------
 1 file changed, 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/797b3412/libs/console/full/src/cons_tty.c
----------------------------------------------------------------------
diff --git a/libs/console/full/src/cons_tty.c b/libs/console/full/src/cons_tty.c
index 44a4345..157ed48 100644
--- a/libs/console/full/src/cons_tty.c
+++ b/libs/console/full/src/cons_tty.c
@@ -362,9 +362,6 @@ console_buf_space(struct console_ring *cr)
     return space - 1;
 }
 
-uint8_t yourmom[512];
-int yourmom_idx;
-
 static int
 console_rx_char(void *arg, uint8_t data)
 {
@@ -379,10 +376,6 @@ console_rx_char(void *arg, uint8_t data)
     uint8_t tx_buf[3];
 #endif
 
-    if (yourmom_idx < sizeof yourmom) {
-        yourmom[yourmom_idx++] = data;
-    }
-
     if (CONSOLE_HEAD_INC(&ct->ct_rx) == ct->ct_rx.cr_tail) {
         /*
          * RX queue full. Reader must drain this.


Mime
View raw message