From 07142c3ce25339c05cbca7cee5de686e77fd35d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Fri, 29 Sep 2017 01:46:51 +0200 Subject: [PATCH] Fix coding style. --- right/src/slave_drivers/uhk_module_driver.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/right/src/slave_drivers/uhk_module_driver.c b/right/src/slave_drivers/uhk_module_driver.c index eb1fada..a506b8e 100644 --- a/right/src/slave_drivers/uhk_module_driver.c +++ b/right/src/slave_drivers/uhk_module_driver.c @@ -28,11 +28,13 @@ static uhk_module_i2c_addresses_t moduleIdsToI2cAddresses[] = { }, }; -static status_t tx(uint8_t i2cAddress) { +static status_t tx(uint8_t i2cAddress) +{ return I2cAsyncWriteMessage(i2cAddress, &txMessage); } -static status_t rx(i2c_message_t *rxMessage, uint8_t i2cAddress) { +static status_t rx(i2c_message_t *rxMessage, uint8_t i2cAddress) +{ return I2cAsyncReadMessage(i2cAddress, rxMessage); }