diff options
author | Cástor Muñoz <cmvidal@gmail.com> | 2014-12-06 23:27:01 +0100 |
---|---|---|
committer | Cástor Muñoz <cmvidal@gmail.com> | 2015-10-07 06:15:04 +0200 |
commit | b2d650f511d1eef08138f09ecd4e96656eef173b (patch) | |
tree | e71b58ec419eac8b81daf131529cdc4c94390032 /apps/iap/iap-core.c | |
parent | efd047a08bf990b9d10be5e5df1bce83968bd4e4 (diff) | |
download | rockbox-b2d650f511d1eef08138f09ecd4e96656eef173b.tar.gz rockbox-b2d650f511d1eef08138f09ecd4e96656eef173b.zip |
iAP: authentication 1.0
Change-Id: I71b8e9f7ce2568c180396d6695cef18ce94ded32
Diffstat (limited to 'apps/iap/iap-core.c')
-rw-r--r-- | apps/iap/iap-core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/iap/iap-core.c b/apps/iap/iap-core.c index 4fa9c09a47..9e5771ab50 100644 --- a/apps/iap/iap-core.c +++ b/apps/iap/iap-core.c | |||
@@ -718,7 +718,8 @@ void iap_periodic(void) | |||
718 | * is in the RX buffer right now. | 718 | * is in the RX buffer right now. |
719 | */ | 719 | */ |
720 | IAP_TX_INIT(0x00, 0x17); | 720 | IAP_TX_INIT(0x00, 0x17); |
721 | IAP_TX_PUT_DATA(iap_rxstart, 20); | 721 | IAP_TX_PUT_DATA(iap_rxstart, |
722 | (device.auth.version == 0x100) ? 16 : 20); | ||
722 | IAP_TX_PUT(0x01); | 723 | IAP_TX_PUT(0x01); |
723 | 724 | ||
724 | iap_send_tx(); | 725 | iap_send_tx(); |