Enabled the SHT11 register readout to allow reading the low-voltage indicator bit

This commit is contained in:
adamdunkels 2008-11-10 21:10:36 +00:00
parent 629963a6ba
commit ceb2554d2f

View file

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* @(#)$Id: sht11.c,v 1.2 2008/07/08 08:23:47 adamdunkels Exp $ * @(#)$Id: sht11.c,v 1.3 2008/11/10 21:10:36 adamdunkels Exp $
*/ */
/* /*
@ -273,7 +273,7 @@ sht11_humidity(void)
return scmd(MEASURE_HUMI); return scmd(MEASURE_HUMI);
} }
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#if 0 /* But ok! */ #if 1 /* But ok! */
unsigned unsigned
sht11_sreg(void) sht11_sreg(void)
{ {