drivers remove extra semicolons

This commit is contained in:
Daniel Agar
2017-06-04 12:48:01 -04:00
committed by Nuno Marques
parent a87b6befbb
commit 58268c832c
9 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ __EXPORT void board_crashdump(uintptr_t currentsp, FAR void *tcb, FAR const uint
} else {
pdump->info.stacks.user.top = (uint32_t) rtcb->adj_stack_ptr;
pdump->info.stacks.user.size = (uint32_t) rtcb->adj_stack_size;;
pdump->info.stacks.user.size = (uint32_t) rtcb->adj_stack_size;
}
#if CONFIG_ARCH_INTERRUPTSTACK > 3
+1 -1
View File
@@ -545,7 +545,7 @@ typedef struct packed_struct uavcan_GetNodeInfo_request_t {
typedef struct packed_struct uavcan_GetNodeInfo_response_t {
uavcan_NodeStatus_t nodes_status;;
uavcan_NodeStatus_t nodes_status;
uavcan_SoftwareVersion_t software_version;
uavcan_HardwareVersion_t hardware_version;
@@ -27,24 +27,24 @@ public:
* trigger the camera
* @param enable
*/
virtual void trigger(bool enable) {};
virtual void trigger(bool enable) {}
/**
* send command to turn the camera on/off
* @param enable
*/
virtual void send_toggle_power(bool enable) {};
virtual void send_toggle_power(bool enable) {}
/**
* send command to prevent the camera from sleeping
* @param enable
*/
virtual void send_keep_alive(bool enable) {};
virtual void send_keep_alive(bool enable) {}
/**
* Display info.
*/
virtual void info() {};
virtual void info() {}
/**
* Checks if the interface has support for
@@ -65,7 +65,7 @@ protected:
/**
* setup the interface
*/
virtual void setup() {};
virtual void setup() {}
/**
* get the hardware configuration
+1 -1
View File
@@ -208,7 +208,7 @@ I2C::transfer(const uint8_t *send, unsigned send_len, uint8_t *recv, unsigned re
}
if (recv_len > 0) {
msgv[msgs].frequency = _bus_clocks[_bus - 1];;
msgv[msgs].frequency = _bus_clocks[_bus - 1];
msgv[msgs].addr = _address;
msgv[msgs].flags = I2C_M_READ;
msgv[msgs].buffer = recv;
+1 -1
View File
@@ -779,7 +779,7 @@ MK::mk_servo_set(unsigned int chan, short val)
if (OK == transfer(&msg[0], 1, &result[0], 2)) {
Motor[chan].Current = result[0];
Motor[chan].MaxPWM = result[1];
Motor[chan].Temperature = 255;;
Motor[chan].Temperature = 255;
} else {
if ((Motor[chan].State & MOTOR_STATE_ERROR_MASK) < MOTOR_STATE_ERROR_MASK) { Motor[chan].State++; } // error
+1 -1
View File
@@ -1132,7 +1132,7 @@ MPU9250::start()
hrt_call_every(&_call,
1000,
_call_interval - MPU9250_TIMER_REDUCTION,
(hrt_callout)&MPU9250::measure_trampoline, this);;
(hrt_callout)&MPU9250::measure_trampoline, this);
} else {
#ifdef USE_I2C
+2 -2
View File
@@ -48,8 +48,8 @@
class QShell
{
public:
QShell() {};
~QShell() {};
QShell() {}
~QShell() {}
int main(std::vector<std::string> argList);
+1 -1
View File
@@ -50,7 +50,7 @@ class QShell
{
public:
QShell();
~QShell() {};
~QShell() {}
int main();
int run_cmd(const std::vector<std::string> &appargs);
+1 -1
View File
@@ -393,7 +393,7 @@ int up_input_capture_set_trigger(unsigned channel, input_capture_edge edge)
break;
default:
return -EINVAL;;
return -EINVAL;
}
uint32_t timer = timer_io_channels[channel].timer_index;