it may have a code from not working but clearing codes will not help your problem.
a long time ago i was at the dealers and checked three new bikes pushed rear brake with hand all three went to the stop and no brake only one would pump up so it would barely work.
if it goes to the stop on the...