aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-16 23:28:14 +0100
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-16 23:28:14 +0100
commitc58935b7587980cdf16015da5e21b5896c96678e (patch)
tree5958596dea1e1aaaeb7c77508cf656a82ab6c101 /qtmips_machine
parent875c265fa1754cc437a3ba39b4137a5f7af8d708 (diff)
downloadqtmips-c58935b7587980cdf16015da5e21b5896c96678e.tar.gz
qtmips-c58935b7587980cdf16015da5e21b5896c96678e.tar.bz2
qtmips-c58935b7587980cdf16015da5e21b5896c96678e.zip
Change RGB LEDs signals and slots to unsigned value.
Signed value caused in the conversion incorrect behavior for some corner cases. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_machine')
-rw-r--r--qtmips_machine/peripspiled.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/qtmips_machine/peripspiled.h b/qtmips_machine/peripspiled.h
index 762b04d..2e2be72 100644
--- a/qtmips_machine/peripspiled.h
+++ b/qtmips_machine/peripspiled.h
@@ -56,8 +56,8 @@ signals:
void read_notification(std::uint32_t address, std::uint32_t *value) const;
void led_line_changed(uint val) const;
- void led_rgb1_changed(int val) const;
- void led_rgb2_changed(int val) const;
+ void led_rgb1_changed(uint val) const;
+ void led_rgb2_changed(uint val) const;
public slots:
void red_knob_update(int val);