Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a d3aa firmware variant with jumpstart, and fix a bug where channel mode config could be accessed from off if globals config was not enabled #100

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions MODELS
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Model MCU Name
0143 attiny1634 hank-noctigon-m44
0151 attiny1634 hank-emisar-d4k-3ch
0161 avr32dd20 hank-emisar-d3aa
0162 avr32dd20 hank-emisar-d3aa-jumpstart
0211 attiny1634 hank-noctigon-kr4
0212 attiny1634 hank-noctigon-kr4-nofet
0213 attiny1634 hank-noctigon-kr4-219
Expand Down
9 changes: 9 additions & 0 deletions hw/hank/emisar-d3aa/jumpstart/anduril.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Emisar D3AA config options for Anduril
// Copyright (C) 2023 thefreeman, Selene ToyKeeper
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once

#include "hank/emisar-d3aa/anduril.h"

#define USE_JUMP_START
#define DEFAULT_JUMP_START_LEVEL 10
1 change: 1 addition & 0 deletions hw/hank/emisar-d3aa/jumpstart/model
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0162
2 changes: 1 addition & 1 deletion ui/anduril/channel-modes.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ uint8_t channel_mode_state(Event event, uint16_t arg) {

#if NUM_CHANNEL_MODES > 1
// channel toggle menu on ... 9H?
else if (event == EV_click9_hold) {
else if ((event == EV_click9_hold) && (current_state == steady_state)) {
push_state(channel_mode_config_state, 0);
return EVENT_HANDLED;
}
Expand Down
Loading