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