Ignore:
Timestamp:
Feb 14, 2025, 12:15:38 PM (3 months ago)
Author:
Zed
Message:

Fixing project.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ctrl/firmware/Main/CubeMX/Core/Inc/adc.h

    r92 r95  
    4040
    4141#define ADC3_CHANNELS   (4U)
     42#define VREF                    (3000U)
    4243
    4344typedef union ADC3_data_t
     
    5051                uint16_t CPUTemp;
    5152                uint16_t UBat;
    52         };
     53        } Name;
    5354} __attribute__((packed, aligned(32))) ADC3_data_t;
    5455
     
    5859
    5960/* USER CODE BEGIN Prototypes */
     61
     62extern volatile uint16_t ADC3_values[2];
    6063
    6164/* USER CODE END Prototypes */
Note: See TracChangeset for help on using the changeset viewer.