Commit 725390c3 authored by Sven Greiner's avatar Sven Greiner

Rename kStrobe to kInitStrobe

Another strobe mode might be introduced.
parent bac93996
......@@ -78,7 +78,7 @@ enum State {
kBeacon,
#endif // ifdef BEACON
#ifdef STROBE
kStrobe,
kInitStrobe,
#endif // ifdef STROBE
};
......@@ -384,7 +384,7 @@ int main(void) {
if (coldboot) { // Initialize state after the flashlight was switched off for some time
#ifdef STROBE
state = options.start_strobe ? kStrobe : kFixed;
state = options.start_strobe ? kInitStrobe : kFixed;
#else
state = kFixed;
#endif // ifdef STROBE
......@@ -470,7 +470,7 @@ int main(void) {
#endif // ifdef BEACON
#ifdef STROBE
case kStrobe:
case kInitStrobe:
set_pwm(TURBO_PWM);
blink(8,2);
blink(8,4);
......
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