diff options
| author | jacqueline <me@jacqueline.id.au> | 2022-10-24 14:18:11 +1100 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2022-10-24 14:18:11 +1100 |
| commit | 58ed7b1e109d0ed8214c338cf3bfd1816ed816ea (patch) | |
| tree | 144c635096ad5d3bcb647163c82d9f33670ad093 /main/i2c.cpp | |
| parent | cc45d1ead00a585ddc064df9339b092b91678f22 (diff) | |
| download | tangara-fw-58ed7b1e109d0ed8214c338cf3bfd1816ed816ea.tar.gz | |
clang-format
Diffstat (limited to 'main/i2c.cpp')
| -rw-r--r-- | main/i2c.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/i2c.cpp b/main/i2c.cpp index 65ed9012..d3bfaa59 100644 --- a/main/i2c.cpp +++ b/main/i2c.cpp @@ -10,7 +10,7 @@ static constexpr int kCmdLinkSize = I2C_LINK_RECOMMENDED_SIZE(12); I2CTransaction::I2CTransaction() { // Use a fixed size buffer to avoid many many tiny allocations. - buffer_ = (uint8_t*) calloc(sizeof(uint8_t), kCmdLinkSize); + buffer_ = (uint8_t*)calloc(sizeof(uint8_t), kCmdLinkSize); handle_ = i2c_cmd_link_create_static(buffer_, kCmdLinkSize); assert(handle_ != NULL && "failed to create command link"); } |
