Browse Source

Fix typo

tags/v1.8.0
Liam 2 years ago
committed by GitHub
parent
commit
51405971fd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/image.c

+ 1
- 1
src/image.c View File

@@ -388,7 +388,7 @@ static double tempcal(float Ce, int satnum, tempparam_t * rgpr) {


// Convert to celsius // Convert to celsius
T -= 273.15; T -= 273.15;
// Rescale to 0-255 for -120°C to +40°C
// Rescale to 0-255 for -100°C to +60°C
T = (T + 100.0) / 160.0 * 255.0; T = (T + 100.0) / 160.0 * 255.0;


return T; return T;


Loading…
Cancel
Save