firmware: octsimtest: Make slot mux configurable via USB

Change-Id: I4cdb250d2e1dbc5b8b0169f8b7c21e288b492e1d
This commit is contained in:
Harald Welte committed 2021-06-03 14:37:43 +02:00
1 parent 3561fc4c8b
commit d46f6bae2c
5 files changed
+36 -2

No files matched your search

@@ -109,6 +109,8 @@
#define VCC_UV_THRESH_1V8 (1500000*47)/(47+30)
#define VCC_UV_THRESH_3V (2500000*47)/(47+30)
#define HAVE_SLOT_MUX
/** Supported modes */
/* SIMtrace board supports sniffer mode */
//#define HAVE_SNIFFER
+2 -1
View File
@@ -1,7 +1,8 @@
#pragma once
void mux_init(void);
void mux_set_slot(uint8_t s);
int mux_set_slot(uint8_t s);
int mux_get_slot(void);
void mux_set_freq(uint8_t s);
/* this reflects the wiring between U5 and U4 */