Add missing break.
authorReto Schneider <github@reto-schneider.ch>
Sun, 8 Jul 2012 20:56:08 +0000 (22:56 +0200)
committerReto Schneider <github@reto-schneider.ch>
Sun, 8 Jul 2012 20:56:08 +0000 (22:56 +0200)
src/am7xxx.c

index e5427ca..24b2b50 100644 (file)
@@ -848,6 +848,7 @@ AM7XXX_PUBLIC int am7xxx_set_power_mode(am7xxx_device *dev, am7xxx_power_mode mo
                h.header_data.power.bit2 = 0;
                h.header_data.power.bit1 = 0;
                h.header_data.power.bit0 = 1;
                h.header_data.power.bit2 = 0;
                h.header_data.power.bit1 = 0;
                h.header_data.power.bit0 = 1;
+               break;
 
        case AM7XXX_POWER_MIDDLE:
                h.header_data.power.bit2 = 0;
 
        case AM7XXX_POWER_MIDDLE:
                h.header_data.power.bit2 = 0;