Update repo

This commit is contained in:
hangpersonal committed 2026-10-06 20:15:27 -07:00
1 parent 0afe39c8fe
commit d229fd964d
6 files changed
+9 -28

No files matched your search

+2 -4
View File
@@ -6,7 +6,6 @@
#include <zephyr/drivers/uart.h>
#include <zephyr/drivers/adc.h>
#define ADC_NODE DT_NODELABEL(adc1)
#if !DT_NODE_HAS_STATUS(ADC_NODE, okay)
@@ -34,9 +33,8 @@ static struct adc_sequence seq = {
.resolution = 12, // 12-bit
};
int main(void)
{
int main(void) {
if(!device_is_ready(adc_dev)) {
return 0;
}