aboutsummaryrefslogtreecommitdiff
path: root/fesvr/rfb.cc
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2022-10-17 13:51:59 -0700
committerAndrew Waterman <andrew@sifive.com>2022-10-17 13:51:59 -0700
commit68aeeb5500521ff52c216862f9a653b64191f3ad (patch)
tree407230ff48f79f177a792451598d9b2b6e3d34a0 /fesvr/rfb.cc
parent191634d2854dfed448fc323195f9b65c305e2d77 (diff)
parent03be4ae6c7b8e9865083b61427ff9724c7706fcf (diff)
downloadspike-plic_uart_v1.zip
spike-plic_uart_v1.tar.gz
spike-plic_uart_v1.tar.bz2
Merge branch 'master' into plic_uart_v1plic_uart_v1
Diffstat (limited to 'fesvr/rfb.cc')
-rw-r--r--fesvr/rfb.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/fesvr/rfb.cc b/fesvr/rfb.cc
index 2594a1b..bd72fda 100644
--- a/fesvr/rfb.cc
+++ b/fesvr/rfb.cc
@@ -119,7 +119,7 @@ void rfb_t::set_pixel_format(const std::string& s)
throw std::runtime_error("bad pixel format");
}
-void rfb_t::fb_update(const std::string& s)
+void rfb_t::fb_update()
{
std::string u;
u += str(uint8_t(0));
@@ -153,7 +153,7 @@ void rfb_t::tick()
std::swap(fb1, fb2);
if (pthread_mutex_trylock(&lock) == 0)
{
- fb_update("");
+ fb_update();
pthread_mutex_unlock(&lock);
}
}