Added call to helper function for ADC_INIT test
This commit is contained in:
parent
a926cc3836
commit
d8403a4e82
1 changed files with 3 additions and 0 deletions
|
@ -73,6 +73,9 @@ TEST(test_ADC, ADC_InitPortAPin7UsesCorrectRegisters)
|
|||
|
||||
TEST(test_ADC, ADC_InitPortAPin0UsesCorrectRegisters)
|
||||
{
|
||||
|
||||
ADCStoresPortState();
|
||||
|
||||
//Check for setting the direction to input.
|
||||
mock().expectOneCall("RegEdit_SetBit")
|
||||
.withPointerParameter("reg", (void *) &PORTA.DIRCLR)
|
||||
|
|
Loading…
Add table
Reference in a new issue