Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
fix #1063
  • Loading branch information
pankleks authored Oct 22, 2021
1 parent 5792186 commit 8396356
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Unofficial miners/STM32/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// https://duinocoin.com/

// by: pankleks 2021
// v: 1.1
// v: 1.2
// https://github.com/pankleks
// MIT License

Expand Down Expand Up @@ -141,7 +141,7 @@ void loop()
expHash = Serial.readStringUntil(',');
log("EH: " + expHash);

difficulty = Serial.readStringUntil(',').toInt();
difficulty = Serial.readStringUntil(',').toInt() * 100;
log("DF: " + String(difficulty));

clearSerial();
Expand Down

0 comments on commit 8396356

Please sign in to comment.