diff options
author | stijn <stijn@ignitron.net> | 2020-04-16 09:13:57 +0200 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-04-23 11:24:25 +1000 |
commit | 84fa3312cfa7d2237d4b56952f2cd6e3591210c4 (patch) | |
tree | dc2b3e67bad9969fc5792ca0822798d58addf174 /ports/stm32/rfcore.c | |
parent | d6243568a05d423b58522435c3779975acbf56dd (diff) | |
download | micropython-84fa3312cfa7d2237d4b56952f2cd6e3591210c4.tar.gz micropython-84fa3312cfa7d2237d4b56952f2cd6e3591210c4.zip |
all: Format code to add space after C++-style comment start.
Note: the uncrustify configuration is explicitly set to 'add' instead of
'force' in order not to alter the comments which use extra spaces after //
as a means of indenting text for clarity.
Diffstat (limited to 'ports/stm32/rfcore.c')
-rw-r--r-- | ports/stm32/rfcore.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ports/stm32/rfcore.c b/ports/stm32/rfcore.c index 9b513839c8..602ef974b2 100644 --- a/ports/stm32/rfcore.c +++ b/ports/stm32/rfcore.c @@ -125,7 +125,7 @@ void ipcc_init(uint32_t irq_pri) { __HAL_RCC_IPCC_CLK_ENABLE(); // Enable wanted IRQs - IPCC->C1CR = 0;//IPCC_C1CR_RXOIE; + IPCC->C1CR = 0; // IPCC_C1CR_RXOIE; IPCC->C1MR = 0xffffffff; NVIC_SetPriority(IPCC_C1_RX_IRQn, irq_pri); HAL_NVIC_EnableIRQ(IPCC_C1_RX_IRQn); @@ -219,15 +219,15 @@ STATIC void tl_parse_hci_msg(const uint8_t *buf, parse_hci_info_t *parse) { // Response packet // assert(buf[1] == 0x0e); kind = "VEND_RESP"; - //uint16_t cmd = buf[4] | buf[5] << 8; - //uint8_t status = buf[6]; + // uint16_t cmd = buf[4] | buf[5] << 8; + // uint8_t status = buf[6]; break; } case 0x12: { // Event packet // assert(buf[1] == 0xff); kind = "VEND_EVT"; - //uint16_t evt = buf[3] | buf[4] << 8; + // uint16_t evt = buf[3] | buf[4] << 8; break; } default: |