set zero flag when transmit succeeded.

git-svn-id: svn://kolibrios.org@5127 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2014-09-15 11:28:35 +00:00
parent 68f4210d52
commit 1415fa22e9
3 changed files with 3 additions and 3 deletions

View File

@ -787,8 +787,8 @@ proc transmit stdcall bufferptr, buffersize
add dword[ebx + device.bytes_tx], eax add dword[ebx + device.bytes_tx], eax
adc dword[ebx + device.bytes_tx + 4], 0 adc dword[ebx + device.bytes_tx + 4], 0
xor eax, eax
popf popf
xor eax, eax
ret ret
.wait_to_send: .wait_to_send:

View File

@ -686,8 +686,8 @@ proc transmit stdcall bufferptr, buffersize
out dx, eax out dx, eax
DEBUGF 1, "Packet Sent!\n" DEBUGF 1, "Packet Sent!\n"
xor eax, eax
popf popf
xor eax, eax
ret ret
.wait_to_send: .wait_to_send:

View File

@ -1873,8 +1873,8 @@ proc transmit stdcall bufferptr, buffersize
add dword[ebx + device.bytes_tx], eax add dword[ebx + device.bytes_tx], eax
adc dword[ebx + device.bytes_tx + 4], 0 adc dword[ebx + device.bytes_tx + 4], 0
xor eax, eax
popf popf
xor eax, eax
ret ret
.fail: .fail: