title: invalid conversion from 'uint8_t* {aka unsigned char*}' to 'const char*' [-fpermissive]
body: <p>I am writing code in C for STM32 with gcc compiler, I am tried suggestions.
  I am calling fuction from i2c.c via i2c.h definiton. May be I did mistake there.
  Thanks for comments.</p>
  
  <p>(i2c.h)</p>
  
  <pre><code>#define Chip_TxBurst(wREG, wCNT, pbDATA)   \
      I2C_TxBurst((0xC0) | (((wREG) &gt;&gt; 7) &amp; 0x1E), (wREG), (wCNT), (pbDATA))
  </code></pre>
  
  <p>(i2c.c) </p>
  
  <pre><code>void I2C_TxBurst (
  uint16_t  bSLA,          /* I2C slave address */
  uint16_t  bREG,          /* I2C sub-address */
  uint16_t  bCNT,          /* The number of data which will be transmitted */
  uint8_t  *pbDATA        /* Point to the first DATA item */
  )
  {
      uint8_t bIdx;
  
      for (bIdx = 0; bIdx &lt; bCNT; bIdx++)
      {
          I2C_TxData(pbDATA[bIdx]);
      } /* for */
  
      } /* I2C_TxBurst */
  </code></pre>
  
  <p>(osd.c)</p>
  
  <pre><code>void OSD0_TEXT( uint8_t     *TEXT,
                      uint8_t     FONT_SIZE_X,
                      ......
                      )
  {
      Chip_TxBurst(0x400, FONT_SIZE_X, TEXT);
  }
  </code></pre>
  
  <p>(main)</p>
  
  <pre><code>main{
  OSD0_TEXT("STAY FOLISH",11);
  }
  </code></pre>
  
  #
  
  #
  
  <p>(old question code)</p>
  
  <pre><code>void OSD0_TEXT (    uint8_t     *TEXT)
  {
  .....
  TxBurst(0x400, strlen(TEXT), TEXT);
  .....
  }
  main{
  OSD0_TEXT("STAY FOLISH");
  }
  </code></pre>