code beautifying
This commit is contained in:
parent
67131408cd
commit
73e6bfa528
3
main.c
3
main.c
@ -77,8 +77,7 @@ void writeSpi(uint32_t m) {
|
|||||||
|
|
||||||
// ISR to read and process result from adc
|
// ISR to read and process result from adc
|
||||||
__attribute__((interrupt(ADC10_VECTOR)))
|
__attribute__((interrupt(ADC10_VECTOR)))
|
||||||
void adcIsr(void)
|
void adcIsr(void) {
|
||||||
{
|
|
||||||
static uint16_t holdValue = 0;
|
static uint16_t holdValue = 0;
|
||||||
static bool holdFlag = false;
|
static bool holdFlag = false;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user