reformat, to ease configuration

This commit is contained in:
Ronald Schaten 2016-04-20 10:34:46 +02:00
parent c9168bb1fd
commit 5b398f1de4

View File

@ -25,7 +25,12 @@ DeviceDht deviceDht(PIN_DHT, TYPE_DHT);
#define PIN_POWER D0
DeviceIrRx deviceIrRx(PIN_IRRX, PIN_POWER);
Device* devices[] = { &deviceLed, &deviceLdr, &deviceDht, &deviceIrRx };
Device* devices[] = {
&deviceLed,
&deviceLdr,
&deviceDht,
&deviceIrRx,
};
void setupHandler() {
for (int i = 0; i < sizeof(devices) / sizeof(*devices); i++) {