aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_machine')
-rw-r--r--qtmips_machine/peripspiled.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/qtmips_machine/peripspiled.cpp b/qtmips_machine/peripspiled.cpp
index f811714..03b74f9 100644
--- a/qtmips_machine/peripspiled.cpp
+++ b/qtmips_machine/peripspiled.cpp
@@ -61,12 +61,15 @@ bool PeripSpiLed::wword(std::uint32_t address, std::uint32_t value) {
switch (address) {
case SPILED_REG_LED_LINE_o:
spiled_reg_led_line = value;
+ emit led_line_changed(value);
break;
case SPILED_REG_LED_RGB1_o:
spiled_reg_led_rgb1 = value;
+ emit led_rgb1_changed(value);
break;
case SPILED_REG_LED_RGB2_o:
spiled_reg_led_rgb2 = value;
+ emit led_rgb2_changed(value);
break;
default:
break;