clang
This commit is contained in:
		
							parent
							
								
									a5204887a8
								
							
						
					
					
						commit
						70c9905cb6
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -206,7 +206,7 @@ void xap_send_base(uint8_t *data, uint8_t length) { | |||
| 
 | ||||
| void xap_send(xap_token_t token, uint8_t response_flags, const void *data, size_t length) { | ||||
|     uint8_t rdata[XAP_BUFFER_SIZE] = {0}; | ||||
|     *(xap_token_t *)&rdata[0] = token; | ||||
|     *(xap_token_t *)&rdata[0]      = token; | ||||
|     if (length > (XAP_BUFFER_SIZE - 4)) response_flags &= ~(XAP_RESPONSE_FLAG_SUCCESS); | ||||
|     rdata[2] = response_flags; | ||||
|     if (response_flags & (XAP_RESPONSE_FLAG_SUCCESS)) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 zvecr
						zvecr