Skip to content

Commit eb24140

Browse files
committed
fix(i3c): astyle issue
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 864b561 commit eb24140

2 files changed

Lines changed: 32 additions & 32 deletions

File tree

libraries/I3C/src/I3C.cpp

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -677,10 +677,10 @@ bool I3CBus::isI3CDeviceReady(uint8_t dynAddr, uint32_t trials, uint32_t timeout
677677
// ============================================================================
678678

679679
bool I3CBus::cccBroadcastWrite(uint8_t cccId,
680-
const uint8_t *data,
681-
uint16_t length,
682-
bool withDefByte,
683-
uint32_t timeout)
680+
const uint8_t *data,
681+
uint16_t length,
682+
bool withDefByte,
683+
uint32_t timeout)
684684
{
685685
bool result = false;
686686

@@ -726,11 +726,11 @@ bool I3CBus::cccBroadcastWrite(uint8_t cccId,
726726
}
727727

728728
bool I3CBus::cccDirectWrite(uint8_t targetAddr,
729-
uint8_t cccId,
730-
const uint8_t *data,
731-
uint16_t length,
732-
bool withDefByte,
733-
uint32_t timeout)
729+
uint8_t cccId,
730+
const uint8_t *data,
731+
uint16_t length,
732+
bool withDefByte,
733+
uint32_t timeout)
734734
{
735735
bool result = false;
736736

@@ -776,10 +776,10 @@ bool I3CBus::cccDirectWrite(uint8_t targetAddr,
776776
}
777777

778778
bool I3CBus::cccDirectRead(uint8_t targetAddr,
779-
uint8_t cccId,
780-
uint8_t *rxData,
781-
uint16_t rxLength,
782-
uint32_t timeout)
779+
uint8_t cccId,
780+
uint8_t *rxData,
781+
uint16_t rxLength,
782+
uint32_t timeout)
783783
{
784784
bool result = false;
785785

@@ -938,9 +938,9 @@ bool I3CBus::rstactPeripheralOnly()
938938
}
939939

940940
bool I3CBus::setEvents(uint8_t dynAddr,
941-
bool enable,
942-
uint8_t events,
943-
uint32_t timeout)
941+
bool enable,
942+
uint8_t events,
943+
uint32_t timeout)
944944
{
945945
bool result = false;
946946

libraries/I3C/src/I3C.h

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -397,9 +397,9 @@ class I3CBus {
397397
int disableTargetEvents(uint32_t interruptMask);
398398

399399
bool setEvents(uint8_t dynAddr,
400-
bool enable,
401-
uint8_t events,
402-
uint32_t timeout = 1000U);
400+
bool enable,
401+
uint8_t events,
402+
uint32_t timeout = 1000U);
403403

404404
bool hasTargetEvent() const;
405405
bool readTargetEvent(uint32_t &eventId);
@@ -496,23 +496,23 @@ class I3CBus {
496496
// Low-level CCC helpers
497497
// ------------------------------------------------------------------------
498498
bool cccBroadcastWrite(uint8_t cccId,
499-
const uint8_t *data,
500-
uint16_t length,
501-
bool withDefByte,
502-
uint32_t timeout = 1000U);
499+
const uint8_t *data,
500+
uint16_t length,
501+
bool withDefByte,
502+
uint32_t timeout = 1000U);
503503

504504
bool cccDirectWrite(uint8_t targetAddr,
505-
uint8_t cccId,
506-
const uint8_t *data,
507-
uint16_t length,
508-
bool withDefByte,
509-
uint32_t timeout = 1000U);
505+
uint8_t cccId,
506+
const uint8_t *data,
507+
uint16_t length,
508+
bool withDefByte,
509+
uint32_t timeout = 1000U);
510510

511511
bool cccDirectRead(uint8_t targetAddr,
512-
uint8_t cccId,
513-
uint8_t *rxData,
514-
uint16_t rxLength,
515-
uint32_t timeout = 1000);
512+
uint8_t cccId,
513+
uint8_t *rxData,
514+
uint16_t rxLength,
515+
uint32_t timeout = 1000);
516516

517517
// ------------------------------------------------------------------------
518518
// Internal utility helpers

0 commit comments

Comments
 (0)