From a9904e391557d4818837e3677b02b839c10adea8 Mon Sep 17 00:00:00 2001 From: Kevin Nakamura Date: Mon, 21 Aug 2023 15:01:03 +0900 Subject: [PATCH] don't import/init edid (PIN_LED_DASH conflicts, and we don't use i2c edid) --- firmware/CMakeLists.txt | 2 +- firmware/td-io.c | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/firmware/CMakeLists.txt b/firmware/CMakeLists.txt index 1566f6f..fdcb9d9 100644 --- a/firmware/CMakeLists.txt +++ b/firmware/CMakeLists.txt @@ -14,7 +14,7 @@ add_subdirectory(third_party/pico_i2c_slave/i2c_slave) # rest of your project add_executable(td-io - td-io.c edid.c + td-io.c ) # Pull in our pico_stdlib which aggregates commonly used features diff --git a/firmware/td-io.c b/firmware/td-io.c index 3a8b14c..3546f02 100644 --- a/firmware/td-io.c +++ b/firmware/td-io.c @@ -1,7 +1,6 @@ #include #include "pico/stdlib.h" #include "hardware/adc.h" -#include "edid.h" #include const uint PIN_JVS_RE = 2; @@ -273,9 +272,6 @@ int main() { gpio_set_dir(PIN_DIP1, GPIO_IN); gpio_pull_up(PIN_DIP1); - // edid emulation - edid_init(); - update_termination(); uint8_t prev_msg_send[JVS_OUTPUT_BUF_LEN];