This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/SIMPLELINK-CC2640R2-SDK: Code indentation really not okay?

Part Number: SIMPLELINK-CC2640R2-SDK

Tool/software: Code Composer Studio

Hi,

    At work we follow coding guidelines and I would need to correct all code indentation at all code files, which is really tedious. See, below sample code snippet at Simple Peripheral SDK v1.50. Is there any settings at CCS that when I import the CCS project all code indentation is proper?

static void SimpleBLEPeripheral_processAppMsg(sbpEvt_t *pMsg)
{
  switch (pMsg->hdr.event)
  {
    case SBP_STATE_CHANGE_EVT:
      {
        SimpleBLEPeripheral_processStateChangeEvt((gaprole_States_t)pMsg->
                                                hdr.state);
      }
      break;

    case SBP_CHAR_CHANGE_EVT:
      {
        SimpleBLEPeripheral_processCharValueChangeEvt(pMsg->hdr.state);
      }
      break;

    // Pairing event
    case SBP_PAIRING_STATE_EVT:
      {
        SimpleBLEPeripheral_processPairState(pMsg->hdr.state, *pMsg->pData);

        ICall_free(pMsg->pData);
        break;
      }

    // Passcode event
    case SBP_PASSCODE_NEEDED_EVT:
      {
        SimpleBLEPeripheral_processPasscode(*pMsg->pData);

        ICall_free(pMsg->pData);
        break;
      }

-kel