kopia lustrzana https://github.com/RobertGawron/IonizationChamber
improved formatting
rodzic
3d8022b372
commit
afb2e745d9
|
@ -30,7 +30,7 @@ void putchar(char c)
|
|||
/* Write a character to the UART1 */
|
||||
UART1_SendData8(c);
|
||||
/* Loop until the end of transmission */
|
||||
while (UART1_GetFlagStatus(UART1_FLAG_TXE) == RESET);
|
||||
while(UART1_GetFlagStatus(UART1_FLAG_TXE) == RESET);
|
||||
}
|
||||
|
||||
|
||||
|
@ -64,7 +64,7 @@ void assert_failed(uint8_t* file, uint32_t line)
|
|||
printf("[error] asset failed %s %d\r\n", file, line);
|
||||
#endif
|
||||
|
||||
while (TRUE)
|
||||
while(TRUE)
|
||||
{
|
||||
// empty
|
||||
}
|
||||
|
|
|
@ -9,12 +9,10 @@
|
|||
|
||||
void PulseCounter_Init()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
void PulseCounter_Tick()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -32,6 +32,7 @@ void UserInterface_ShowMessage(UserInterface_Status status)
|
|||
GPIO_WriteHigh(PORT_GPIO_LED, PIN_GPIO_LED_RED);
|
||||
break;
|
||||
}
|
||||
|
||||
case USER_INTERFAE_STATE_OK_MSG:
|
||||
{
|
||||
GPIO_WriteHigh(PORT_GPIO_LED, PIN_GPIO_LED_GREEN);
|
||||
|
|
|
@ -94,19 +94,19 @@ static uint16_t read(uint8_t registerId)
|
|||
|
||||
|
||||
uint16_t registerMSB = I2C_ReceiveData();
|
||||
while (!I2C_CheckEvent(I2C_EVENT_MASTER_BYTE_RECEIVED));
|
||||
while(!I2C_CheckEvent(I2C_EVENT_MASTER_BYTE_RECEIVED));
|
||||
|
||||
uint16_t registerLSB = I2C_ReceiveData();
|
||||
while (!I2C_CheckEvent(I2C_EVENT_MASTER_BYTE_RECEIVED));
|
||||
while(!I2C_CheckEvent(I2C_EVENT_MASTER_BYTE_RECEIVED));
|
||||
|
||||
uint16_t registerLSB1 = I2C_ReceiveData();
|
||||
while (!I2C_CheckEvent(I2C_EVENT_MASTER_BYTE_RECEIVED));
|
||||
while(!I2C_CheckEvent(I2C_EVENT_MASTER_BYTE_RECEIVED));
|
||||
|
||||
uint16_t registerLSB2 = I2C_ReceiveData();
|
||||
while (!I2C_CheckEvent(I2C_EVENT_MASTER_BYTE_RECEIVED));
|
||||
while(!I2C_CheckEvent(I2C_EVENT_MASTER_BYTE_RECEIVED));
|
||||
|
||||
uint16_t registerLSB3 = I2C_ReceiveData();
|
||||
while (!I2C_CheckEvent(I2C_EVENT_MASTER_BYTE_RECEIVED));
|
||||
while(!I2C_CheckEvent(I2C_EVENT_MASTER_BYTE_RECEIVED));
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -82,8 +82,8 @@ indent_min_vbrace_open = 0
|
|||
indent_vbrace_open_on_tabstop = false
|
||||
indent_token_after_brace = true
|
||||
indent_cpp_lambda_body = false
|
||||
sp_arith = ignore
|
||||
sp_assign = ignore
|
||||
sp_arith = add
|
||||
sp_assign = add
|
||||
sp_cpp_lambda_assign = ignore
|
||||
sp_cpp_lambda_paren = ignore
|
||||
sp_assign_default = ignore
|
||||
|
@ -97,7 +97,7 @@ sp_pp_concat = add
|
|||
sp_pp_stringify = ignore
|
||||
sp_before_pp_stringify = ignore
|
||||
sp_bool = ignore
|
||||
sp_compare = ignore
|
||||
sp_compare = add
|
||||
sp_inside_paren = ignore
|
||||
sp_paren_paren = ignore
|
||||
sp_cparen_oparen = ignore
|
||||
|
@ -127,7 +127,7 @@ sp_angle_paren_empty = ignore
|
|||
sp_angle_word = ignore
|
||||
sp_angle_shift = add
|
||||
sp_permit_cpp11_shift = false
|
||||
sp_before_sparen = ignore
|
||||
sp_before_sparen = remove
|
||||
sp_inside_sparen = ignore
|
||||
sp_inside_sparen_close = ignore
|
||||
sp_inside_sparen_open = ignore
|
||||
|
@ -365,7 +365,7 @@ nl_switch_brace = ignore
|
|||
nl_synchronized_brace = ignore
|
||||
nl_multi_line_cond = false
|
||||
nl_multi_line_define = false
|
||||
nl_before_case = false
|
||||
nl_before_case = true
|
||||
nl_before_throw = ignore
|
||||
nl_after_case = false
|
||||
nl_case_colon_brace = ignore
|
||||
|
@ -483,8 +483,8 @@ nl_after_try_catch_finally = 0
|
|||
nl_around_cs_property = 0
|
||||
nl_between_get_set = 0
|
||||
nl_property_brace = ignore
|
||||
eat_blanks_after_open_brace = false
|
||||
eat_blanks_before_close_brace = false
|
||||
eat_blanks_after_open_brace = true
|
||||
eat_blanks_before_close_brace = true
|
||||
nl_remove_extra_newlines = 0
|
||||
nl_before_return = false
|
||||
nl_after_return = false
|
||||
|
@ -502,7 +502,7 @@ mod_full_brace_using = ignore
|
|||
mod_paren_on_return = ignore
|
||||
mod_pawn_semicolon = false
|
||||
mod_full_paren_if_bool = false
|
||||
mod_remove_extra_semicolon = false
|
||||
mod_remove_extra_semicolon = true
|
||||
mod_add_long_function_closebrace_comment = 0
|
||||
mod_add_long_namespace_closebrace_comment = 0
|
||||
mod_add_long_class_closebrace_comment = 0
|
||||
|
|
Ładowanie…
Reference in New Issue