mirror of
https://github.com/greatscottgadgets/hackrf.git
synced 2026-03-12 10:19:40 +01:00
I was misusing SGPIO_CTRL_ENABLE. Instead, use SGPIO_CTRL_DISABLE to disable slices.
This commit is contained in:
@@ -133,7 +133,7 @@ void test_sgpio_interface() {
|
||||
|
||||
void configure_sgpio() {
|
||||
// Disable all counters during configuration
|
||||
SGPIO_CTRL_ENABLE = 0;
|
||||
SGPIO_CTRL_DISABLE = 0xFFFF;
|
||||
|
||||
configure_sgpio_pin_functions();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user