Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
MoellerDi committed May 2, 2024
1 parent 0cef4d6 commit 3f3da6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/bm1397/bm1366.c
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ void BM1366_set_single_chip_address(uint8_t new_address)

void BM1366_set_nonce_mask(int chip_count)
{
if (chip_count < 0) { chip_count = 0; }
if (chip_count < 1) { chip_count = 1; }
if (chip_count > 128) { chip_count = 128; }

chip_count = _calculate_chip_number(chip_count); // Because of the way the nonce ranges calculated, we need to use a fixed chip address interval (for now)
Expand Down

0 comments on commit 3f3da6f

Please sign in to comment.