nyx: Release the shackles

This commit is contained in:
Kostas Missos
2019-12-07 20:16:38 +02:00
parent edc2b12f0f
commit 48c15a8fde
23 changed files with 1 additions and 117 deletions

View File

@@ -20,9 +20,6 @@
#include "../soc/i2c.h"
#include "../utils/util.h"
#pragma GCC push_options
#pragma GCC target ("thumb")
int bq24193_get_property(enum BQ24193_reg_prop prop, int *value)
{
u8 data;
@@ -163,5 +160,3 @@ void bq24193_fake_battery_removal()
value |= BQ24193_MISC_BATFET_DI_MASK;
i2c_send_byte(I2C_1, BQ24193_I2C_ADDR, BQ24193_Misc, value);
}
#pragma GCC pop_options