Minor fix to current type
parent
1282e8f5a0
commit
3b351b7018
|
@ -627,7 +627,7 @@ int main() {
|
|||
//puth(usart1_dma); puts(" "); puth(DMA2_Stream5->M0AR); puts(" "); puth(DMA2_Stream5->NDTR); puts("\n");
|
||||
|
||||
#ifdef PANDA
|
||||
int current = adc_get(ADCCHAN_CURRENT);
|
||||
uint32_t current = adc_get(ADCCHAN_CURRENT);
|
||||
|
||||
switch (usb_power_mode) {
|
||||
case USB_POWER_CLIENT:
|
||||
|
|
Loading…
Reference in New Issue