Added call to helper function for ADC_INIT test

This commit is contained in:
jakeg00dwin 2024-07-27 09:28:29 -07:00
parent a926cc3836
commit d8403a4e82
1 changed files with 3 additions and 0 deletions

View File

@ -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)