; *************************************************************************** ; copyright : (C) 2023 by Martin Preuss ; email : martin@libchipcard.de ; ; *************************************************************************** ; * This file is part of the project "AqHome". * ; * Please see toplevel file COPYING of that project for license details. * ; *************************************************************************** ; *************************************************************************** ; code .cseg ; --------------------------------------------------------------------------- ; Handle FLASH END packet. ; ; IN: ; - X : buffer containing the message ; OUT: ; - CFLAG: set if message is for us, cleared otherwise ; REGS: r16, r18. r19. r20, r21, X (R15, R17, R22) flashHandleFlashEnd: rcall flashWaitFor100ms clr r16 rcall flashSendFlashResponse ; (R15, R16, R17, R18, R19, R20, R21, R22, X) sec ret