PiInTheSky / pits

Pi In The Sky Telemetry Software
GNU General Public License v2.0
87 stars 49 forks source link

PITS internal temperature not updating on pi zero #38

Closed MGPZ closed 4 years ago

MGPZ commented 4 years ago

Hi

When using the PITS tracker on a Pi Zero (without the PITSZero board, just GPS and LoRa modules attached) the internal temperature reading is not updating so the initial reading taken from the GPU just repeats for the duration it is running.

If I restart the tracker, an updated temperature reading is reported but again this repeats without updating.

Many Thanks

Mark

PiInTheSky commented 4 years ago

Thanks, sounds like it's only checking once or is re-reading the same data for some reason. I'll check over the weekend.

On Fri, 28 Feb 2020 at 18:39, MGPZ notifications@github.com wrote:

Hi

When using the PITS tracker on a Pi Zero (without the PITSZero board, just GPS and LoRa modules attached) the internal temperature reading is not updating so the initial reading taken from the GPU just repeats for the duration it is running.

If I restart the tracker, an updated temperature reading is reported but again this repeats without updating.

Many Thanks

Mark

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PiInTheSky/pits/issues/38?email_source=notifications&email_token=AB4ERK6DDVKZVYLOIC3OJV3RFFK5FA5CNFSM4K5XZWF2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IRGIUKA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB4ERKZG3YUTWLGWJNWN6MLRFFK5FANCNFSM4K5XZWFQ .

MGPZ commented 4 years ago

Happy to help.

Mark

PiInTheSky commented 4 years ago

Fixed in latest issue.

It was setting a flag that said it had found a DS18B20, and that stopped further checks of the GPU temperature.