Make the driver examples capable of compiling together

This commit is contained in:
Mike Long
2012-09-08 10:32:23 +08:00
parent be1c831d25
commit e31153b6fb
2 changed files with 8 additions and 6 deletions

View File

@@ -1,4 +1,3 @@
#if 1
extern "C"
{
#include "driver.h"
@@ -49,4 +48,3 @@ TEST(Driver, When_reading_data_Then_reads_from_DRIVER_INPUT_REGISTER)
ASSERT_EQ(readRegister, DRIVER_INPUT_REGISTER);
}
#endif