Permalink
Browse files

Use the local write function

  • Loading branch information...
1 parent b0af490 commit 426da17989b2395340ef4e79a8eda4e6edfcef77 @msantos committed Mar 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/stk500.erl
View
@@ -165,7 +165,7 @@ dtrrts(FD, Status) when is_atom(Status) ->
% <<16#30, 16#20>>
sync(FD) ->
- serctl:write(FD, <<?Cmnd_STK_GET_SYNC, ?Sync_CRC_EOP>>).
+ cmd(FD, <<?Cmnd_STK_GET_SYNC, ?Sync_CRC_EOP>>).
% Read up to N bytes

0 comments on commit 426da17

Please sign in to comment.