DigitalIoPin: Fine

This commit is contained in:
RedHawk 2023-04-06 11:43:42 +03:00
parent c662936689
commit 8977eeb8f6
2 changed files with 0 additions and 17 deletions

View File

@ -7,10 +7,6 @@
#include "DigitalIoPin.h"
// Remove this when code will be reworked.
#ifndef DIGITALIOPIN_NOT_FIXED
// Remove this when code will be reworked.
DigitalIoPin::DigitalIoPin (int port, int pin, bool input, bool pullup,
bool invert)
{
@ -65,7 +61,3 @@ DigitalIoPin::write (bool value)
assert (!(_io._input));
Chip_GPIO_SetPinState (LPC_GPIO, _io._port, _io._pin, ((_io._invert) ? !value : value));
}
//Remove this when code will be reworked.
#endif /* DIGITALIOPIN_NOT_FIXED */
//Remove this when code will be reworked.

View File

@ -8,11 +8,6 @@
#ifndef DIGITALIOPIN_H_
#define DIGITALIOPIN_H_
// Remove this when code will be reworked.
#define DIGITALIOPIN_NOT_FIXED
#ifndef DIGITALIOPIN_NOT_FIXED
// Remove this when code will be reworked.
#define UINT8_MAX_VALUE 255
#include <assert.h>
@ -45,8 +40,4 @@ private:
void setIoPin ();
};
//Remove this when code will be reworked.
#endif /* DIGITALIOPIN_NOT_FIXED */
//Remove this when code will be reworked.
#endif /* DIGITALIOPIN_H_ */