~toykeeper/flashlight-firmware/fsm

« back to all changes in this revision

Viewing changes to ToyKeeper/spaghetti-monster/anduril/ff-strobe-modes.h

  • Committer: Selene ToyKeeper
  • Date: 2023-11-04 15:09:10 UTC
  • mfrom: (483.1.175 anduril2)
  • Revision ID: bzr@toykeeper.net-20231104150910-ddd3afw4nhfvof2l
merged anduril2 branch -> fsm, with *years* of changes
(this also means this code is now Anduril 2 instead of Anduril 1)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// ff-strobe-modes.h: Fireflies Flashlights strobe modes for Anduril.
 
2
// Copyright (C) 2017-2023 Selene ToyKeeper
 
3
// SPDX-License-Identifier: GPL-3.0-or-later
 
4
 
 
5
#pragma once
 
6
 
 
7
uint8_t boring_strobe_state(Event event, uint16_t arg);
 
8
inline void boring_strobe_state_iter();
 
9
uint8_t boring_strobe_type = 0;
 
10
void sos_blink(uint8_t num, uint8_t dah);
 
11
#ifdef USE_POLICE_STROBE_MODE
 
12
inline void police_strobe_iter();
 
13
#endif
 
14
#define NUM_BORING_STROBES 2
 
15