~toykeeper/flashlight-firmware/trunk

« back to all changes in this revision

Viewing changes to ToyKeeper/spaghetti-monster/anduril/tactical-mode.h

  • Committer: Selene ToyKeeper
  • Date: 2023-04-17 06:08:32 UTC
  • mto: (188.22.175 anduril2)
  • mto: This revision was merged to the branch mainline in revision 250.
  • Revision ID: bzr@toykeeper.net-20230417060832-m50gul6mz47puwbp
switched the rest of FSM + Anduril to use SPDX license headers
instead of full GPL headers (or all too often, nothing at all)

There are a few "FIXME" entries where I'm not sure about the correct copyright.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * tactical-mode.h: Tactical mode for Anduril.
3
 
 *
4
 
 * Copyright (C) 2023 Selene Scriven
5
 
 *
6
 
 * This program is free software: you can redistribute it and/or modify
7
 
 * it under the terms of the GNU General Public License as published by
8
 
 * the Free Software Foundation, either version 3 of the License, or
9
 
 * (at your option) any later version.
10
 
 *
11
 
 * This program is distributed in the hope that it will be useful,
12
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 
 * GNU General Public License for more details.
15
 
 *
16
 
 * You should have received a copy of the GNU General Public License
17
 
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
18
 
 */
 
1
// tactical-mode.h: Tactical mode for Anduril.
 
2
// Copyright (C) 2023 Selene ToyKeeper
 
3
// SPDX-License-Identifier: GPL-3.0-or-later
19
4
 
20
 
#ifndef TACTICAL_MODE_H
21
 
#define TACTICAL_MODE_H
 
5
#pragma once
22
6
 
23
7
#ifndef TACTICAL_LEVELS
24
8
// high, low, tactical strobe
29
13
uint8_t tactical_state(Event event, uint16_t arg);
30
14
uint8_t tactical_config_state(Event event, uint16_t arg);
31
15
 
32
 
 
33
 
#endif