aboutsummaryrefslogtreecommitdiff
path: root/hw/display/jazz_led.c
diff options
context:
space:
mode:
authorSaravanakumar <saravanakumar.punith@gmail.com>2014-05-21 16:11:40 +0530
committerMichael Tokarev <mjt@tls.msk.ru>2014-05-24 00:07:56 +0400
commite35f29ded3602a2ff6776290787c596ce6afc802 (patch)
tree20aa6aeec9fe6ab3b83adc1dd57bb05544fb762d /hw/display/jazz_led.c
parent1a3de8dbecd9a1f628f3e95085158d085725ae52 (diff)
jazz_led: Add missing break in switch case
Signed-off-by: Saravanakumar <saravanakumar.punith@gmail.com> Reviewed-by: Paolo Bonizni <pbonzini@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/display/jazz_led.c')
-rw-r--r--hw/display/jazz_led.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/display/jazz_led.c b/hw/display/jazz_led.c
index e9bb005413..12b1707cb2 100644
--- a/hw/display/jazz_led.c
+++ b/hw/display/jazz_led.c
@@ -173,6 +173,7 @@ static void jazz_led_update_display(void *opaque)
case 16:
color_segment = rgb_to_pixel16(0xaa, 0xaa, 0xaa);
color_led = rgb_to_pixel16(0x00, 0xff, 0x00);
+ break;
case 24:
color_segment = rgb_to_pixel24(0xaa, 0xaa, 0xaa);
color_led = rgb_to_pixel24(0x00, 0xff, 0x00);