Skip to content

Commit 3b351b7

Browse files
committedApr 23, 2019
Minor fix to current type
1 parent 1282e8f commit 3b351b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎board/main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ int main() {
627627
//puth(usart1_dma); puts(" "); puth(DMA2_Stream5->M0AR); puts(" "); puth(DMA2_Stream5->NDTR); puts("\n");
628628

629629
#ifdef PANDA
630-
int current = adc_get(ADCCHAN_CURRENT);
630+
uint32_t current = adc_get(ADCCHAN_CURRENT);
631631

632632
switch (usb_power_mode) {
633633
case USB_POWER_CLIENT:

0 commit comments

Comments
 (0)