spark/firmware — pull request #318 by lbt (2014-09-22 17:40:44+00:00)
Title: C++11 and attach interrupts using lambdas

I wanted to support multiple instances of a class in a library which uses attachInterrupt

I can now do:
auto mylambda = [&]() {this->touchSense();} ;
attachInterrupt(m_sensorPin, mylambda , RISING);

Standard function pointers still work.

I needed some cleanups to allow the entire library to build using gnu++11 and some minimal tidy up to allow to be #included.