From 58ed7b1e109d0ed8214c338cf3bfd1816ed816ea Mon Sep 17 00:00:00 2001 From: jacqueline Date: Mon, 24 Oct 2022 14:18:11 +1100 Subject: clang-format --- main/i2c.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/i2c.cpp') 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"); } -- cgit v1.2.3