mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-08 20:55:14 -05:00
Aws only files spell check (#593)
* Added spell check * All words * Add a missing word * Fix header checks * Fix header checks v1 * Fix header check v2 * Updated freertos link in header * Fixed afr link in the header * Fix last of header checks * Update the spell check script to check amazon licensed files only * Fixed paths and added comments * Try with modified repo * Add inplace substitute option to sed * Use official repo as the spell checker source * Add vendor file to the ignored list Co-authored-by: root <root@ip-172-31-5-28.us-west-2.compute.internal>
This commit is contained in:
parent
e117bdcd17
commit
1bc759d413
104 changed files with 3737 additions and 444 deletions
|
|
@ -19,10 +19,9 @@
|
|||
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*
|
||||
* http://www.FreeRTOS.org
|
||||
* http://aws.amazon.com/freertos
|
||||
* https://www.FreeRTOS.org
|
||||
* https://github.com/FreeRTOS
|
||||
*
|
||||
* 1 tab == 4 spaces!
|
||||
*/
|
||||
|
||||
/*
|
||||
|
|
@ -94,7 +93,7 @@ BaseType_t xStatus;
|
|||
XUartPs_Config *pxConfig;
|
||||
|
||||
/* Create the queue used to hold received characters. NOTE THE COMMENTS AT
|
||||
THE TOP OF THIS FILE REGARDING THE USE OF QUEUES FOR THIS PURPSOE. */
|
||||
THE TOP OF THIS FILE REGARDING THE USE OF QUEUES FOR THIS PURPOSE. */
|
||||
xRxQueue = xQueueCreate( uxQueueLength, sizeof( char ) );
|
||||
configASSERT( xRxQueue );
|
||||
|
||||
|
|
@ -222,7 +221,7 @@ char cChar;
|
|||
ulChannelStatusRegister = XUartPs_ReadReg( XPAR_PS7_UART_1_BASEADDR, XUARTPS_SR_OFFSET );
|
||||
|
||||
/* Move data from the Rx FIFO to the Rx queue. NOTE THE COMMENTS AT THE
|
||||
TOP OF THIS FILE ABOUT USING QUEUES FOR THIS PURPSOE. */
|
||||
TOP OF THIS FILE ABOUT USING QUEUES FOR THIS PURPOSE. */
|
||||
while( ( ulChannelStatusRegister & XUARTPS_SR_RXEMPTY ) == 0 )
|
||||
{
|
||||
cChar = XUartPs_ReadReg( XPAR_PS7_UART_1_BASEADDR, XUARTPS_FIFO_OFFSET );
|
||||
|
|
@ -245,7 +244,7 @@ char cChar;
|
|||
{
|
||||
if( xUARTInstance.SendBuffer.RemainingBytes == 0 )
|
||||
{
|
||||
/* Give back the semaphore to indicate that the tranmission is
|
||||
/* Give back the semaphore to indicate that the transmission is
|
||||
complete. If giving the semaphore unblocks a task, and the
|
||||
unblocked task has a priority above the currently running task (the
|
||||
task that this interrupt interrupted), then xHigherPriorityTaskWoken
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue