lots of compiler warnings removed, C++-style comments removed, changed struc initialisation from 'field:value' to '.field=value'

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@771 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
This commit is contained in:
michael
2007-02-25 12:27:26 +00:00
parent 51db519d96
commit 3c851dd7e0
51 changed files with 1897 additions and 1890 deletions

View File

@@ -167,7 +167,7 @@ void drv_generic_i2c_data(const unsigned char data)
}
void drv_generic_i2c_command(const unsigned char command, const unsigned char *data, const unsigned char length)
void drv_generic_i2c_command(const unsigned char command, /*const */ unsigned char *data, const unsigned char length)
{
i2c_smbus_write_block_data(i2c_device, command, length, (unsigned char *) data);
i2c_smbus_write_block_data(i2c_device, command, length, data);
}