Skip to content

Commit

Permalink
Fix capacitor charge direction
Browse files Browse the repository at this point in the history
  • Loading branch information
bessman committed Jul 3, 2024
1 parent 36d4fd3 commit b690e83
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/instruments/multimeter.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
#include "../registers/timers/tmr5.h"
#include "multimeter.h"

#define CHARGE 0
#define DISCHARGE 1
enum {
DISCHARGE,
CHARGE,
};

/* Function prototypes */
void ChargeCapacitor(uint8_t charge, uint16_t period);
Expand Down

0 comments on commit b690e83

Please sign in to comment.