function errormsg = c2000_validateModelAfterMake(tgtInfo, irInfo)
%C2000_VALIDATEMODELAFTERMAKE

% Copyright 2007-2011 The MathWorks, Inc.

errormsg = [];

foundTimer0 = 0;
for i=1:length(irInfo.interrupts)
    if ((irInfo.interrupts{i} == 1) && (irInfo.pienumbers{i} == 7))
        foundTimer0 = foundTimer0 + 1;
        if (foundTimer0 > 1)
            error(message('TICCSEXT:util:CannotUseReservedInterrupts'));
        end
    end
end
