Author: jaguarondi
Date: 2008-07-10 14:36:56 +0200 (Thu, 10 Jul 2008)
New Revision: 1322
Modified:
firmware/tuxdefs/defines.h
Log:
* Updated the SPI frame structure for one command and 16kHz audio.
Modified: firmware/tuxdefs/defines.h
===================================================================
--- firmware/tuxdefs/defines.h 2008-07-10 12:25:01 UTC (rev 1321)
+++ firmware/tuxdefs/defines.h 2008-07-10 12:36:56 UTC (rev 1322)
@@ -260,11 +260,10 @@
* @{ */
/* SPI frame structure */
-#define SPI_SIZE 51
+#define SPI_SIZE 40
#define SPI_IDX_OFFSET 0
#define SPI_CONFIG_OFFSET 1
-#define SPI_DATAIDX_OFFSET 2
-#define SPI_DATA_OFFSET 3
+#define SPI_DATA_OFFSET 2
#define SPI_AUDIO_OFFSET (SPI_DATA_OFFSET + CMD_SIZE)
/** Size of the audio data in the SPI frame */
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn