Commit cf7b4b6b authored by Tristan Gingold's avatar Tristan Gingold

minor indentation

parent 2e89059b
......@@ -237,9 +237,11 @@ static int l1e_is_correction_field_compliant (struct pp_instance *ppi) {
static int l1e_extension_state_changed( struct pp_instance * ppi)
{
if ( ppi->extState!=PP_EXSTATE_ACTIVE && L1E_DSPOR(ppi)->basic.L1SyncState!=L1SYNC_DISABLED ) {
if (ppi->extState == PP_EXSTATE_ACTIVE) {
l1e_servo_init(ppi);
} else if (L1E_DSPOR(ppi)->basic.L1SyncState != L1SYNC_DISABLED) {
// Extension disabled : Force L1SYNC_DISABLED disable state
L1E_DSPOR(ppi)->basic.next_state=L1SYNC_DISABLED; /* Force L1Sync DISABLE state */
L1E_DSPOR(ppi)->basic.next_state = L1SYNC_DISABLED;
l1e_run_state_machine(ppi,NULL,0);
}
return 0;
......
......@@ -278,7 +278,7 @@ int pp_slave(struct pp_instance *ppi, void *buf, int len)
/* when entering uncalibrated init servo */
if (uncalibrated && ppi->is_new_state) {
memset(&ppi->t1, 0, sizeof(ppi->t1));
pp_diag(ppi, bmc, 2, "Entered to uncalibrated, reset servo\n");
pp_diag(ppi, servo, 2, "Entered to uncalibrated, reset servo\n");
pp_servo_init(ppi);
if (is_ext_hook_available(ppi,new_slave))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment