FreeCalypso > hg > fc-tourmaline
diff src/ui/mfw/mfw_utils.c @ 188:92abb46dc1ba
src/ui/mfw/*.[ch]: rm trailing white space
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 19 Jan 2021 06:10:27 +0000 |
parents | 67bfe9f274f6 |
children |
line wrap: on
line diff
--- a/src/ui/mfw/mfw_utils.c Tue Jan 19 05:41:26 2021 +0000 +++ b/src/ui/mfw/mfw_utils.c Tue Jan 19 06:10:27 2021 +0000 @@ -15,7 +15,7 @@ Bug:Re-align structure members in MFW Fix:Structure elements have been realigned to avoid the structure padding - Jun 05, 2004 REF: CRR 18262 NISHIKANT KULKARNI + Jun 05, 2004 REF: CRR 18262 NISHIKANT KULKARNI Description: The sample sends a STOP DTMF message without release of the key by the user Solution: Instead of sending DTMF commands in "VTS_MOD_Auto" mode, on key press DTMF tone is started using VTS_MOD_ManStart and on key release DTMF tone is stopped using VTS_MOD_ManStop mode. @@ -52,7 +52,7 @@ #endif -// xnkulkar SPR-18262: This length of array for storing DTMF mode (Start/Stop), is equal to the number +// xnkulkar SPR-18262: This length of array for storing DTMF mode (Start/Stop), is equal to the number // of DTMF tone requests that can be stored in queue. #define MAX_DTMF_Q_ENTRIES 50 /***************************Go-lite Optimization changes start***********************/ @@ -98,7 +98,7 @@ UBYTE static_buf, void *buffer_ptr) { SHORT bufId; - + if (cbf_num_of_buffers < MAX_CBUF_QUEUES) { /* @@ -131,7 +131,7 @@ if ((!static_buf) && (buffer_ptr != (void *)0)) return (MFW_CBUF_INVALID_BUF_PTR); - + /* ** Set the selected buffer to active */ @@ -360,11 +360,11 @@ memcpy(buffer_ptr, &cbf_hdr[bufId].mfw_cb[cbf_hdr[bufId].mfw_cb_read_pos], cbf_hdr[bufId].item_size); - + memset(&cbf_hdr[bufId].mfw_cb[cbf_hdr[bufId].mfw_cb_read_pos], cbf_hdr[bufId].null_char, cbf_hdr[bufId].item_size); - + /* ** Move the read pointer along to the next required position */ @@ -401,7 +401,7 @@ SHORT mfw_cbuf_put_mode (SHORT bufId,UBYTE vts_mode) { TRACE_FUNCTION("mfw_cbuf_put_mode()"); - + // Check for the validity of buffer ID and "limit" for the number of elements // if ok, put the mode (Start / Stop) for the specified DTMF tone in the queue if ((bufId < 0) || (bufId >= MAX_CBUF_QUEUES)) @@ -418,7 +418,7 @@ |xnkulkar SPR-18262 | |ROUTINE: SHORT mfw_cbuf_get_mode() | |PURPOSE : Get the mode (Start/Stop) for the DTMF tone in queue | -| | +| | +-----------------------------------------------------------------------+ */ SHORT mfw_cbuf_get_mode (SHORT bufId)