From: Tollef Fog Heen Date: Mon, 2 Feb 2009 07:10:49 +0000 (+0100) Subject: If we get something we do not understand, quit X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32c76562d69c24bfb0d98ce335dea2368f0a7a1f;p=temper If we get something we do not understand, quit --- diff --git a/TEMPer.c b/TEMPer.c index df2f864..2cdeb74 100644 --- a/TEMPer.c +++ b/TEMPer.c @@ -344,6 +344,8 @@ double ReadTEMP(void) case '1': temperature = -(2048.0 - tempdata) * 0.125; break; + default: + exit (7); } return temperature;