[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/atm128/adc AdcStreamP.nc, 1.5, 1.6
Jan-Hinrich Hauer
janhauer at users.sourceforge.net
Wed Apr 9 01:56:32 PDT 2008
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/msp430/adc12
AdcStreamP.nc, NONE, 1.1 Msp430Adc12DMAWireC.nc, NONE,
1.1 WireAdcStreamP.nc, NONE, 1.1 AdcP.nc, 1.4,
1.5 AdcReadStreamClientC.nc, 1.4, 1.5 HplAdc12P.nc, 1.4,
1.5 Msp430Adc12ClientAutoDMAC.nc, 1.5,
1.6 Msp430Adc12ClientAutoDMA_RVGC.nc, 1.6,
1.7 Msp430Adc12ClientAutoRVGC.nc, 1.6, 1.7 Msp430Adc12ImplP.nc,
1.5, 1.6 Msp430Adc12MultiChannel.nc, 1.2, 1.3 README.txt, 1.6, 1.7
- Next message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/types Leds.h,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/atm128/adc
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv20872
Modified Files:
AdcStreamP.nc
Log Message:
bugfix: the buffer passed to ReadStream.postBuffer() must have a certain minimum size to store temporary information (this commit happens in agreement with David G.)
Index: AdcStreamP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/atm128/adc/AdcStreamP.nc,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** AdcStreamP.nc 8 Feb 2007 17:52:33 -0000 1.5
--- AdcStreamP.nc 9 Apr 2008 08:56:30 -0000 1.6
***************
*** 105,108 ****
--- 105,110 ----
command error_t ReadStream.postBuffer[uint8_t c](uint16_t *buf, uint16_t n) {
+ if (n < sizeof(struct list_entry_t))
+ return ESIZE;
atomic
{
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/msp430/adc12
AdcStreamP.nc, NONE, 1.1 Msp430Adc12DMAWireC.nc, NONE,
1.1 WireAdcStreamP.nc, NONE, 1.1 AdcP.nc, 1.4,
1.5 AdcReadStreamClientC.nc, 1.4, 1.5 HplAdc12P.nc, 1.4,
1.5 Msp430Adc12ClientAutoDMAC.nc, 1.5,
1.6 Msp430Adc12ClientAutoDMA_RVGC.nc, 1.6,
1.7 Msp430Adc12ClientAutoRVGC.nc, 1.6, 1.7 Msp430Adc12ImplP.nc,
1.5, 1.6 Msp430Adc12MultiChannel.nc, 1.2, 1.3 README.txt, 1.6, 1.7
- Next message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/types Leds.h,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Tinyos-2-commits
mailing list