Skip to content

Commit

Permalink
Tidy-up macro semicol usage
Browse files Browse the repository at this point in the history
  • Loading branch information
g-oikonomou committed May 15, 2015
1 parent 0b68135 commit 7641aa8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/srf06-cc26xx/sensortag/tmp-007-sensor.c
Expand Up @@ -88,7 +88,7 @@

#define SWAP(v) ((LO_UINT16(v) << 8) | HI_UINT16(v))
/*---------------------------------------------------------------------------*/
#define SELECT() board_i2c_select(BOARD_I2C_INTERFACE_0, SENSOR_I2C_ADDRESS);
#define SELECT() board_i2c_select(BOARD_I2C_INTERFACE_0, SENSOR_I2C_ADDRESS)
/*---------------------------------------------------------------------------*/
static uint8_t buf[DATA_SIZE];
static uint16_t val;
Expand Down Expand Up @@ -124,7 +124,7 @@ enable_sensor(bool enable)
{
bool success;

SELECT()
SELECT();

if(enable) {
val = TMP007_VAL_CONFIG_ON;
Expand Down

0 comments on commit 7641aa8

Please sign in to comment.