mirror of
				https://github.com/pvvx/RTL00_WEB.git
				synced 2025-07-31 20:31:05 +00:00 
			
		
		
		
	update
This commit is contained in:
		
							parent
							
								
									a07f6dcd3d
								
							
						
					
					
						commit
						7b0ca91b26
					
				
					 5 changed files with 8 additions and 6 deletions
				
			
		|  | @ -14,7 +14,7 @@ | |||
| 		<table id="aps" class="scan"> | ||||
| 			<tr><th>SSID</th><th>BSSID</th><th>Auth</th><th>Ch</th><th>RSSI</th><th>Hd</th></tr> | ||||
| 		</table> | ||||
| 		<form id="stform" style="display: none" method='post' action='/timeout.htm'> | ||||
| 		<form id="stform" style="display: none" method='post' action='timeout.htm'> | ||||
| 			<table class="form"> | ||||
| 				<tr> | ||||
| 					<td class="label">Select or input SSID:<input type='hidden' name='wifi_rdcfg' value='0x1C00'></td> | ||||
|  |  | |||
|  | @ -2,14 +2,14 @@ | |||
| <html><head> | ||||
| 	<meta http-equiv="Content-type" content="text/html; charset=utf-8"> | ||||
| 	<title>RTL871X WIFI</title> | ||||
| 	<link rel="stylesheet" href="style.css"> | ||||
| 	<script src="scripts.js"></script> | ||||
| 	<link rel="stylesheet" href="/style.css"> | ||||
| 	<script src="/scripts.js"></script> | ||||
| </head><body onload="reloadTimer.reload(10)"> | ||||
| 	<h3 class="top">RTL871X Built-in Web server <sup>©</sup></h3> | ||||
| 	<div class="content"> | ||||
| 		<h3>Timeout <span id='timer'>?</span> sec...</h3> | ||||
| 		* Redirect: <a href='http://~sys_url~/'>http://~sys_url~/</a> *<br><br> | ||||
| 		<a href='index.htm'>Main</a> | ||||
| 		<a href='/index.htm'>Main</a> | ||||
| 	</div> | ||||
| ~inc:footer.inc~ | ||||
| </body> | ||||
|  |  | |||
|  | @ -7,7 +7,7 @@ | |||
| </head><body> | ||||
| 	~inc:menu.inc~ | ||||
| 	<div class="content"> | ||||
| 		<form method='post' action='/timeout.htm'> | ||||
| 		<form method='post' action='timeout.htm'> | ||||
| 		<table class="form"> | ||||
| 			<tr> | ||||
| 				<td colspan="2"><h2 class="title">WiFi SoftAP</h2></td> | ||||
|  |  | |||
|  | @ -9,7 +9,7 @@ | |||
| <h2 class="title">Debug and Tests</h2> | ||||
| <p class="center"> | ||||
| Chart <a href="/heap.htm">'heap'</a>, <a href="/tst.htm">ST-AP RSSI</a><br><br> | ||||
| <a href='/timeout.htm?sys_restart=12345'>System Restart</a><br><br> | ||||
| <a href='/protect/timeout.htm?sys_restart=12345'>System Restart</a><br><br> | ||||
| Counter erase the last flash sector config: ~sys_rdec0x980FE000~<br><br> | ||||
| </p> | ||||
| </div> | ||||
|  |  | |||
|  | @ -2004,6 +2004,7 @@ void qfnk_task(void) | |||
| #if DEBUGSOO > 2 | ||||
| 				os_printf("qfn: %p(%p)\n", qfn.fnk, qfn.param); | ||||
| #endif | ||||
| 				vTaskDelay(200); // Timeout + WDT
 | ||||
| 				qfn.fnk(qfn.param); | ||||
| 			} | ||||
| //			else {
 | ||||
|  | @ -2081,6 +2082,7 @@ err_t ICACHE_FLASH_ATTR webserver_close(uint16 portn) | |||
| 	if(xQueueWebSrv) { | ||||
| 		WEB_SRV_QFNK qfn; | ||||
| 		qfn.fnk = vTaskDelete; | ||||
| 		qfn.fnk = NULL; | ||||
| 		qfn.param = NULL; | ||||
| 		if(xQueueSendToBack(xQueueWebSrv, &qfn, 1000) == pdPASS) { | ||||
| 			while(uxQueueMessagesWaiting(xQueueWebSrv)) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue