forked RemoteIR
Fork of RemoteIR by
Revision 2:08836610bd4a, committed 2010-08-17
- Comitter:
- shintamainjp
- Date:
- Tue Aug 17 10:37:41 2010 +0000
- Parent:
- 1:4adf16017a0f
- Child:
- 3:dfed23b157e6
- Commit message:
Changed in this revision
--- a/TransmitterIR.cpp Tue Aug 17 09:14:49 2010 +0000 +++ b/TransmitterIR.cpp Tue Aug 17 10:37:41 2010 +0000 @@ -11,11 +11,6 @@ #define IRQ_DISABLE() sem.take(); __disable_irq() TransmitterIR::TransmitterIR(PinName txpin) : tx(txpin) { -} - -TransmitterIR::~TransmitterIR() {} - -void TransmitterIR::init(void) { tx.write(0.0); tx.period_us(26.3); @@ -29,6 +24,9 @@ data.bitlength = 0; } +TransmitterIR::~TransmitterIR() { +} + TransmitterIR::State TransmitterIR::getState(void) { IRQ_DISABLE(); State s = work.state;
--- a/TransmitterIR.h Tue Aug 17 09:14:49 2010 +0000 +++ b/TransmitterIR.h Tue Aug 17 10:37:41 2010 +0000 @@ -25,7 +25,6 @@ Trailer } State; - void init(void); State getState(void); int setData(RemoteIR::Format format, uint8_t *buf, int bitlength);
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Tue Aug 17 10:37:41 2010 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/9114680c05da