Skip to content

Commit 15097b9

Browse files
committed
fix: Formatting after merge from github
1 parent 302e0e2 commit 15097b9

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

common/libraries/proof_of_work/pow.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ extern Wallet wallet;
7474
/*****************************************************************************
7575
* PRIVATE MACROS AND DEFINES
7676
*****************************************************************************/
77-
#define SECS_TO_HASHES(sec) ((sec)*pow_hash_rate)
77+
#define SECS_TO_HASHES(sec) ((sec) * pow_hash_rate)
7878

7979
/*****************************************************************************
8080
* PRIVATE TYPEDEFS

common/libraries/util/utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
#define U16_SWAP_ENDIANNESS(x) ((x) >> 8 | (x) << 8)
5151
/// Change little-endian value to big-endian ordering and vice-versa
5252
#define U32_SWAP_ENDIANNESS(x) \
53-
((x) << 24 | ((x)&0xff00) << 8 | ((x)&0xff0000) >> 8 | (x) >> 24)
53+
((x) << 24 | ((x) & 0xff00) << 8 | ((x) & 0xff0000) >> 8 | (x) >> 24)
5454
/// Find maximum of two values
5555
#define CY_MAX(a, b) ((a) > (b) ? (a) : (b))
5656
/// Find minimum of two values

simulator/lv_drivers/display/SHARP_MIP.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ static bool_t com_output_state = false;
9393
* Return the byte bitmask of a pixel bit corresponding
9494
* to VDB arrangement (8 pixels per byte on lines).
9595
*/
96-
#define PIXIDX(x) SHARP_MIP_REV_BYTE(1 << ((x)&7))
96+
#define PIXIDX(x) SHARP_MIP_REV_BYTE(1 << ((x) & 7))
9797

9898
/**********************
9999
* GLOBAL FUNCTIONS

simulator/lv_drivers/display/UC1610.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ static uint8_t cmd_buf[12];
9999
**********************/
100100

101101
/* Return the byte bitmask of a pixel color corresponding to VDB arrangement */
102-
#define PIXIDX(y, c) ((c) << (((y)&3) << 1))
102+
#define PIXIDX(y, c) ((c) << (((y) & 3) << 1))
103103

104104
/**********************
105105
* GLOBAL FUNCTIONS

src/card_operations/card_fetch_data.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
*****************************************************************************/
1414

1515
#include <assert.h>
16+
1617
#include "card_operation_typedefs.h"
1718
#include "stdbool.h"
1819
#include "stdint.h"

0 commit comments

Comments
 (0)