Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/develop f9bf3836c -> e7abb3c74


hal_spi.h; add comment saying that baudrate unit is kHz.


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

Branch: refs/heads/develop
Commit: e7abb3c749d534c4cdaddc900cb7e94daa3d5a0b
Parents: f9bf383
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Fri Oct 14 12:49:28 2016 -0700
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Fri Oct 14 12:49:28 2016 -0700

----------------------------------------------------------------------
 hw/hal/include/hal/hal_spi.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/e7abb3c7/hw/hal/include/hal/hal_spi.h
----------------------------------------------------------------------
diff --git a/hw/hal/include/hal/hal_spi.h b/hw/hal/include/hal/hal_spi.h
index c542123..38a51b2 100644
--- a/hw/hal/include/hal/hal_spi.h
+++ b/hw/hal/include/hal/hal_spi.h
@@ -54,7 +54,7 @@ struct hal_spi_settings {
     uint8_t         data_mode;
     uint8_t         data_order;
     uint8_t         word_size;
-    uint32_t        baudrate;
+    uint32_t        baudrate;          /* baudrate in kHz */
 };
 
 /**

Reply via email to