From 140bcee2e0f6f5092a3dfd73881de56f9a69266d Mon Sep 17 00:00:00 2001 From: chris Date: Thu, 8 Oct 2015 20:44:19 -0700 Subject: [PATCH] comment cleanup --- app/modules/hx711.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/modules/hx711.c b/app/modules/hx711.c index c95cfff3..75822b9c 100644 --- a/app/modules/hx711.c +++ b/app/modules/hx711.c @@ -9,7 +9,7 @@ static uint8_t data_pin; static uint8_t clk_pin; -/*Lua: init(clk_pin,data_pin)*/ +/*Lua: hx711.init(clk_pin,data_pin)*/ static int hx711_init(lua_State* L) { clk_pin = luaL_checkinteger(L,1); data_pin = luaL_checkinteger(L,2); @@ -36,8 +36,9 @@ static int ICACHE_FLASH_ATTR hx711_read(lua_State* L) { //wait for data ready. or time out. //TODO: set pin inturrupt and come back to it. This may take up to 1/10 sec // or maybe just make an async version too and have both available. + WRITE_PERI_REG(0x60000914, 0x73); //clear WDT... this may take a while. for (i = 0; i