Add format script which invokes clang-format on the C++ source code (#41)

On Windows machines, clang-format.exe must be in the PATH environment variable.
This commit is contained in:
Tyler Veness
2016-05-20 17:30:37 -07:00
committed by Peter Johnson
parent 68690643d2
commit e14e45da76
383 changed files with 13787 additions and 13198 deletions

View File

@@ -16,8 +16,8 @@
/**
* Class to write to digital outputs.
* Write values to the digital output channels. Other devices implemented
* elsewhere will allocate
* channels automatically so for those devices it shouldn't be done here.
* elsewhere will allocate channels automatically so for those devices it
* shouldn't be done here.
*/
class DigitalOutput : public DigitalSource,
public ITableListener,
@@ -50,7 +50,7 @@ class DigitalOutput : public DigitalSource,
private:
uint32_t m_channel;
void *m_pwmGenerator;
void* m_pwmGenerator;
std::shared_ptr<ITable> m_table;
};