fusee: Minor bugfixes.

This commit is contained in:
hexkyz committed 2018-09-05 20:51:03 +01:00
1 parent ad4605abde
commit 2f8edfa8e2
14 files changed
+40 -52

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ int max77620_regulator_get_status(uint32_t id)
}
if (i2c_query(I2C_5, MAX77620_PWR_I2C_ADDR, reg->cfg_addr, &val, 1))
return (val & 8) ? 0 : 1;
return (val & 8) ? 1 : 0;
return 0;
}