Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed xbee_lib ADXL345_I2C IMUfilter ITG3200 Motor RangeFinder Servo mbos PID
Fork of Labo_TRSE_Drone by
Diff: Service/Buffer_Trame.cpp
- Revision:
- 28:8b5ccd2f837e
- Parent:
- 26:814d9b08aa68
diff -r 67c37f97fc66 -r 8b5ccd2f837e Service/Buffer_Trame.cpp
--- a/Service/Buffer_Trame.cpp Wed Apr 03 12:45:19 2013 +0000
+++ b/Service/Buffer_Trame.cpp Wed Apr 03 13:48:30 2013 +0000
@@ -68,14 +68,7 @@
return newFrame;
}
-
- frame C_FrameBuffer::frameBuffer(unsigned int index)
- {
- if(index >= m_maxSize) index = m_maxSize;
-
- return m_frameBuffer[index];
- }
-
+
unsigned int C_FrameBuffer::maxSize(void)
{
return m_maxSize;
