Skip to content

Commit

Permalink
fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
cziter15 committed Jan 19, 2024
1 parent 643c220 commit 6ca50ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions firmware/src/apps/raesp/protocols/protobase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "../../../board.h"

namespace apps::raesp::protocols
{
{
static inline volatile uint32_t asm_ccount(void)
{
uint32_t r;
Expand All @@ -22,7 +22,7 @@ namespace apps::raesp::protocols

void IRAM_ATTR delayTicks(int32_t ticks)
{
uint32_t expire_ticks = asm_ccount() + ticks -13;
uint32_t expire_ticks {asm_ccount() + ticks -13};

do
ticks = expire_ticks - asm_ccount();
Expand All @@ -35,7 +35,7 @@ namespace apps::raesp::protocols
"beqi %0, 3 , 0f;"
"beqi %0, 4 , 0f;"
"bgei %0, 5 , 0f;"
"0: ;" : : "r"(ticks)
"0:;" : : "r"(ticks)
);
}

Expand Down

0 comments on commit 6ca50ef

Please sign in to comment.