[Armadeus-commitlog] armadeus branch, master, updated. release-3.3-10-g064d834
Brought to you by:
sszy
|
From: Fabien M <fa...@us...> - 2010-08-16 15:58:10
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 064d8342b84552414e5b1c8cc7f85cf59f7bc2b3 (commit)
from 9ea541e0c3d62c04e020ee813f1ca8819022d88d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 064d8342b84552414e5b1c8cc7f85cf59f7bc2b3
Author: Fabien Marteau <fab...@ar...>
Date: Mon Aug 16 17:57:24 2010 +0200
[asdevices] fix bug in as_spi
-----------------------------------------------------------------------
Summary of changes:
target/packages/as_devices/c/as_spi.c | 2 +-
target/packages/as_devices/c/as_spi.h | 2 --
2 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/target/packages/as_devices/c/as_spi.c b/target/packages/as_devices/c/as_spi.c
index 2aaccb5..4eb9e01 100644
--- a/target/packages/as_devices/c/as_spi.c
+++ b/target/packages/as_devices/c/as_spi.c
@@ -121,7 +121,7 @@ int as_spi_set_speed(int aFd, uint32_t aSpeed)
uint32_t as_spi_get_speed(int aFd)
{
- uint8_t speed;
+ uint32_t speed;
if (ioctl(aFd, SPI_IOC_RD_MAX_SPEED_HZ, &speed) < 0) {
ERROR("SPI max_speed_hz");
diff --git a/target/packages/as_devices/c/as_spi.h b/target/packages/as_devices/c/as_spi.h
index 511f2fc..9fd2a51 100644
--- a/target/packages/as_devices/c/as_spi.h
+++ b/target/packages/as_devices/c/as_spi.h
@@ -95,7 +95,6 @@ int as_spi_get_lsb(int aFd);
* @param aSpeed clock speed
*
* @return speed in Hz, negative value on error
- * TODO: test it
*/
int as_spi_set_speed(int aFd, uint32_t aSpeed);
@@ -104,7 +103,6 @@ int as_spi_set_speed(int aFd, uint32_t aSpeed);
* @param aFd spidev file handler
*
* @return speed in Hz
- * TODO: test it
*/
uint32_t as_spi_get_speed(int aFd);
hooks/post-receive
--
armadeus
|