From 1c2364d77214d0be0878645796b6f458a09e6cfc Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Fri, 13 May 2022 13:25:47 +1000 Subject: Revert "bitbanger: Add udp multicast support (#9744)" (#9749) This reverts commit 5052eb307a959644677037be52b9a168a68775dd. --- src/devices/imagedev/bitbngr.cpp | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'src/devices/imagedev/bitbngr.cpp') diff --git a/src/devices/imagedev/bitbngr.cpp b/src/devices/imagedev/bitbngr.cpp index b148b5b684a..dc31c4ccb83 100644 --- a/src/devices/imagedev/bitbngr.cpp +++ b/src/devices/imagedev/bitbngr.cpp @@ -45,19 +45,6 @@ void bitbanger_device::output(uint8_t data) fwrite(&data, 1); } -/*------------------------------------------------- - native_output - outputs data buffer to a file --------------------------------------------------*/ - -int bitbanger_device::send(uint8_t *buf, int len) -{ - if (exists()) - { - return fwrite(buf, len); - } - // Announce we transfered everything - return len; -} /*------------------------------------------------- native_input - inputs data from a file @@ -71,21 +58,6 @@ uint32_t bitbanger_device::input(void *buffer, uint32_t length) return 0; } -/*------------------------------------------------- - flush_rx - Flushes all receive data from stream --------------------------------------------------*/ -void bitbanger_device::flush_rx(void) -{ - if (exists()) - { - int rx_bytes; - auto tmp_buf = std::make_unique(512); - while ((rx_bytes = fread(tmp_buf.get(), 512))) - { - //printf("Flushing rx %d bytes\n", rx_bytes); - } - } -} /*------------------------------------------------- -- cgit v1.2.3-70-g09d2