Skip to content

Commit

Permalink
lights: fix more derp
Browse files Browse the repository at this point in the history
indentation was notmyfault but is fucking confusing so i fixed it
  • Loading branch information
Daz Jones committed Dec 11, 2012
1 parent a990cd4 commit 1252d22
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions lights/lights.c
Expand Up @@ -211,14 +211,13 @@ set_speaker_light_locked(struct light_device_t* dev,
v[1] = 0;
v[2] = 0;
huawei_oem_rapi_streaming_function(0x26, 0, 0, 0xc, v, 0, 0);
}
}

if (blink) {
write_int(RED_FREQ_FILE, freq);
write_int(RED_PWM_FILE, pwm);
}
write_int(RED_BLINK_FILE, blink);
if (blink) {
write_int(RED_FREQ_FILE, freq);
write_int(RED_PWM_FILE, pwm);
}
write_int(RED_BLINK_FILE, blink);

return 0;
}
Expand Down

0 comments on commit 1252d22

Please sign in to comment.