~toykeeper/flashlight-firmware/fsm

« back to all changes in this revision

Viewing changes to ToyKeeper/spaghetti-monster/anduril/cfg-emisar-d1.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
// Emisar D1 config options for Anduril
2
 
#include "hwdef-Emisar_D1.h"
 
2
// Copyright (C) 2018-2023 Selene ToyKeeper
 
3
// SPDX-License-Identifier: GPL-3.0-or-later
 
4
#pragma once
 
5
 
3
6
// same as Emisar D4, mostly
 
7
#include "hwdef-emisar-d4.h"
4
8
#include "cfg-emisar-d4.h"
 
9
#undef MODEL_NUMBER
 
10
#define MODEL_NUMBER "0121"
 
11
 
 
12
// safe limit ~50% power
 
13
#undef SIMPLE_UI_CEIL
 
14
#define SIMPLE_UI_CEIL 120
5
15
 
6
16
// stop panicking at ~75% power or ~1000 lm (D1 has a decent power-to-thermal-mass ratio)
7
17
#ifdef THERM_FASTER_LEVEL