MtrDecVal Macro

Microchip Graphics Library

Microchip Graphics Library
MtrDecVal Macro
C
#define MtrDecVal(pMtr, deltaValue) MtrSetVal(pMtr, ((pMtr)->value - deltaValue))
Overview

This macro is used to directly decrement the value.

Input Parameters
Input Parameters 
Description 
pMtr 
Pointer to the object. 
deltaValue 
Number to be subtracted to the current Meter value. 
Returns

none

Preconditions

none

Side Effects

none

Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved