Author: jaguarondi
Date: 2008-07-11 11:57:07 +0200 (Fri, 11 Jul 2008)
New Revision: 1325

Modified:
   firmware/tuxdefs/defines.h
Log:
* I can save one byte in the audio as sending 33 bytes is good enough to have
  at least 16kHz.



Modified: firmware/tuxdefs/defines.h
===================================================================
--- firmware/tuxdefs/defines.h  2008-07-10 13:02:52 UTC (rev 1324)
+++ firmware/tuxdefs/defines.h  2008-07-11 09:57:07 UTC (rev 1325)
@@ -264,21 +264,21 @@
  * @{ */
 
 /* SPI frame structure */
-#define SPI_SIZE 40
+#define SPI_SIZE 39
 #define SPI_IDX_OFFSET 0
 #define SPI_CONFIG_OFFSET 1
 #define SPI_DATA_OFFSET 2
 #define SPI_AUDIO_OFFSET (SPI_DATA_OFFSET + CMD_SIZE)
 
 /** Size of the audio data in the SPI frame */
-#define AUDIO_SPK_SIZE 34
+#define AUDIO_SPK_SIZE 33
 #define AUDIO_MIC_SIZE 17
 
 /* Bits of the config byte */
 #define CFG_CRCOK_MK _BV(0)
 #define CFG_DATA_MK _BV(1)
 #define CFG_AUDIO_MK _BV(2)
-#define CFG_PREVAUDIO_MK _BV(3)
+#define CFG_SECBUF_MK _BV(3)
 #define CFG_ACK_MK _BV(4)
 
 /*! @} */


-------------------------------------------------------------------------
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

Reply via email to