X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=Demo%2FCORTEX_LM3S811_IAR%2FLuminaryCode%2Fosram96x16.c;h=1af1b6c2fb336774e33daf0357a7758f42d5e15a;hb=baa9ed196e2945d39b1487fbd47e7f089a534ee5;hp=54f260d7a97810ea7245efd26b53116fec03fbf7;hpb=f6abf70e60051c8dc271e329eeef65028ba3126b;p=freertos diff --git a/Demo/CORTEX_LM3S811_IAR/LuminaryCode/osram96x16.c b/Demo/CORTEX_LM3S811_IAR/LuminaryCode/osram96x16.c index 54f260d7a..1af1b6c2f 100644 --- a/Demo/CORTEX_LM3S811_IAR/LuminaryCode/osram96x16.c +++ b/Demo/CORTEX_LM3S811_IAR/LuminaryCode/osram96x16.c @@ -282,7 +282,7 @@ static void OSRAMDelay(unsigned long ulCount) { __asm(" subs r0, #1\n" - " bne OSRAMDelay\n" + " bne.n OSRAMDelay\n" " bx lr"); } #endif @@ -810,7 +810,7 @@ OSRAMInit(tBoolean bFast) // // Initialize the I2C master. // - I2CMasterInit(I2C_MASTER_BASE, bFast); + I2CMasterInitExpClk(I2C_MASTER_BASE, SysCtlClockGet(), bFast); // // Compute the inter-byte delay for the SSD0303 controller. This delay is