~toykeeper/flashlight-firmware/trunk

« back to all changes in this revision

Viewing changes to ToyKeeper/spaghetti-monster/anduril/channel-modes.c

  • 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
 
 * channel-modes.c: Multi-channel functions for Anduril.
3
 
 * Copyright (C) 2017-2023 Selene ToyKeeper
4
 
 * SPDX-License-Identifier: GPL-3.0-or-later
5
 
 */
 
1
// channel-modes.c: Multi-channel functions for Anduril.
 
2
// Copyright (C) 2017-2023 Selene ToyKeeper
 
3
// SPDX-License-Identifier: GPL-3.0-or-later
6
4
 
7
5
#pragma once
8
6
 
9
7
#include "channel-modes.h"
10
8
 
11
 
 
12
9
uint8_t channel_mode_state(Event event, uint16_t arg) {
13
10
    #ifdef USE_CHANNEL_MODE_ARGS
14
11
    static int8_t tint_ramp_direction = 1;
144
141
        );
145
142
}
146
143
#endif
 
144