summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/imagedev/bitbngr.cpp
diff options
context:
space:
mode:
author Vas Crabb <cuavas@users.noreply.github.com>2022-05-13 13:25:47 +1000
committer GitHub <noreply@github.com>2022-05-13 13:25:47 +1000
commit1c2364d77214d0be0878645796b6f458a09e6cfc (patch)
tree37778d3fc1a42ca70d5f0c4bd36008887c4e89de /src/devices/imagedev/bitbngr.cpp
parent1911a43b49ede45866b2ff29c99998dac27042c2 (diff)
Revert "bitbanger: Add udp multicast support (#9744)" (#9749)
This reverts commit 5052eb307a959644677037be52b9a168a68775dd.
Diffstat (limited to 'src/devices/imagedev/bitbngr.cpp')
-rw-r--r--src/devices/imagedev/bitbngr.cpp28
1 files changed, 0 insertions, 28 deletions
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<uint8_t[]>(512);
- while ((rx_bytes = fread(tmp_buf.get(), 512)))
- {
- //printf("Flushing rx %d bytes\n", rx_bytes);
- }
- }
-}
/*-------------------------------------------------