~toykeeper/flashlight-firmware/fsm

« back to all changes in this revision

Viewing changes to ToyKeeper/spaghetti-monster/anduril/cfg-sofirn-sp36.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
1
// Sofirn SP36 (small Q8) config options for Anduril
 
2
// Copyright (C) 2018-2023 Selene ToyKeeper
 
3
// SPDX-License-Identifier: GPL-3.0-or-later
 
4
#pragma once
 
5
 
2
6
// same as  the  BLF Q8, mostly
3
7
#include "cfg-blf-q8.h"
 
8
#undef MODEL_NUMBER
 
9
#define MODEL_NUMBER "0612"
4
10
 
5
11
// voltage readings were a little high with the Q8 value
6
12
#undef VOLTAGE_FUDGE_FACTOR
19
25
#ifdef BLINK_AT_RAMP_MIDDLE
20
26
#undef BLINK_AT_RAMP_MIDDLE
21
27
#endif
22
 
#ifdef BLINK_AT_RAMP_CEILING
23
 
#undef BLINK_AT_RAMP_CEILING
 
28
#ifdef BLINK_AT_RAMP_CEIL
 
29
#undef BLINK_AT_RAMP_CEIL
24
30
#endif
25
31
 
26
32
// stop panicking at ~60% power or ~3000 lm