fix white spaces

This commit is contained in:
NIIBE Yutaka
2015-09-08 17:19:14 +09:00
parent 1b25cc5dcb
commit baef99bf11
3 changed files with 8 additions and 8 deletions

View File

@@ -196,7 +196,7 @@ static volatile uint32_t *const SYST_CSR = (uint32_t *const)0xE000E010;
static volatile uint32_t *const SYST_RVR = (uint32_t *const)0xE000E014;
static volatile uint32_t *const SYST_CVR = (uint32_t *const)0xE000E018;
#ifndef MHZ
#ifndef MHZ
#define MHZ 72
#endif
@@ -300,7 +300,7 @@ ll_pop (void *head)
static void
ll_prio_push (struct chx_thread *tp0, void *head)
{
struct chx_thread *l = (struct chx_thread *)head;
struct chx_thread *l = (struct chx_thread *)head;
struct chx_thread *tp;
for (tp = l->next; tp != l; tp = tp->next)
@@ -332,7 +332,7 @@ enum {
THREAD_READY,
THREAD_WAIT_MTX,
THREAD_WAIT_CND,
THREAD_WAIT_TIME,
THREAD_WAIT_TIME,
THREAD_WAIT_INT,
THREAD_JOIN,
/**/
@@ -973,7 +973,7 @@ chopstx_create (uint32_t flags_and_prio,
if (stack_size < sizeof (struct chx_thread) + 8 * sizeof (uint32_t))
chx_fatal (CHOPSTX_ERR_THREAD_CREATE);
stack = (void *)(stack_addr + stack_size - sizeof (struct chx_thread)
- sizeof (struct chx_stack_regs));
memset (stack, 0, sizeof (struct chx_stack_regs));
@@ -1430,7 +1430,7 @@ chopstx_exit (void *retval)
{
clp->routine (clp->arg);
clp = clp->next;
}
}
/* Release all mutexes this thread still holds. */
for (m = running->mutex_list; m; m = m_next)
@@ -1571,7 +1571,7 @@ chopstx_cancel (chopstx_t thd)
/**
* chopstx_testcancel - catch pending cancellation request
*
*
* Calling chopstx_testcancel creates a cancellation point.
* No return value. If the thread is canceled, this function
* does not return.

View File

@@ -230,7 +230,7 @@ clock_init (void)
RCC->APB2ENR |= RCC_APB2ENR_SYSCFGEN;
RCC->APB2RSTR = RCC_APB2RSTR_SYSCFGRST;
RCC->APB2RSTR = 0;
# if defined(HAVE_SYS_H)
/* Use vectors on RAM */
SYSCFG->CFGR1 = (SYSCFG->CFGR1 & ~SYSCFG_CFGR1_MEM_MODE) | 3;

View File

@@ -199,7 +199,7 @@ handler vector_table[] __attribute__ ((section(".startup.vectors"))) = {
chx_handle_intr /* DMA1 CH6 */, chx_handle_intr /* DMA1 CH7 */,
chx_handle_intr /* ADC1_2 */, chx_handle_intr /* USB HP */,
/* 0x90 */
chx_handle_intr /* USB LP */, chx_handle_intr /* CAN */,
chx_handle_intr /* USB LP */, chx_handle_intr /* CAN */,
/* ... and more. EXT9_5, TIMx, I2C, SPI, USART, EXT15_10 */
chx_handle_intr, chx_handle_intr,
/* 0xA0 */