Skip to content

Commit

Permalink
add some verbose calibration data
Browse files Browse the repository at this point in the history
  • Loading branch information
john30 committed Apr 18, 2021
1 parent c8a4ad5 commit c69dfa7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tools/ebuspicloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -966,6 +966,10 @@ int run(int fd) {
readConfig(fd, 0x0100, 9*2, true); // MUI
std::cout << "EUI:"<< std::endl;
readConfig(fd, 0x010a, 8*2); // EUI
readConfig(fd, 0x0116, 14, false, false, data); // TSHR2...FVRC2X
std::cout << "TSHR2: " << std::dec << static_cast<unsigned>(((data[1]&0xff) << 8) | (data[0]&0xff)) << std::endl;
std::cout << "FVRA2X: " << static_cast<unsigned>(((data[7]&0xff) << 8) | (data[6]&0xff)) << std::endl;
std::cout << "FVRC2X: " << static_cast<unsigned>(((data[13]&0xff) << 8) | (data[12]&0xff)) << std::endl;
}
if (verbose) {
std::cout << "Flash:" << std::endl;
Expand Down

0 comments on commit c69dfa7

Please sign in to comment.