X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fhardware%2Fbaylibre-acme%2Fprotocol.c;h=17ae5b90859e764eb852439dadeab9314823cd64;hb=688e44ae06610d64ef90b720cd61262e5b606d55;hp=a6ff339b77f3819b6e450eaf591fd36d0aac0ffb;hpb=91057d2fc24c0ca058aa08c8ea6ada4eadf05ffd;p=libsigrok.git diff --git a/src/hardware/baylibre-acme/protocol.c b/src/hardware/baylibre-acme/protocol.c index a6ff339b..17ae5b90 100644 --- a/src/hardware/baylibre-acme/protocol.c +++ b/src/hardware/baylibre-acme/protocol.c @@ -310,11 +310,11 @@ static int read_probe_eeprom(unsigned int addr, struct probe_eeprom *eeprom) static int revB_addr_to_num(unsigned int addr) { switch (addr) { - case 0x44: return 5; - case 0x45: return 6; - case 0x42: return 3; - case 0x43: return 4; - default: return addr - 0x3f; + case 0x44: return 5; + case 0x45: return 6; + case 0x42: return 3; + case 0x43: return 4; + default: return addr - 0x3f; } }