Skip to content

Commit

Permalink
minor lint
Browse files Browse the repository at this point in the history
  • Loading branch information
SpenceKonde committed Aug 5, 2023
1 parent 094ac51 commit add22f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion megaavr/cores/dxcore/core_devices.h
Original file line number Diff line number Diff line change
Expand Up @@ -1264,7 +1264,7 @@ int8_t _setCPUSpeed(uint8_t omhz) {
#define CLKCTRL_SELHF_XTAL_gc CLKCTRL_SELHF_CRYSTAL_gc
#endif
#if defined(__AVR_EA__)
// Yoohoooo! I do belive we are missing a few mux options here...
// Yoohoooo! I do believe we are missing a few mux options here...
#define PORTMUX_SPI0_ALT2_gc (0x02 << 0)
#define PORTMUX_SPI0_ALT3_gc (0x03 << 0)
#define PORTMUX_SPI0_ALT4_gc (0x04 << 0)
Expand Down
2 changes: 1 addition & 1 deletion megaavr/cores/dxcore/wiring_analog.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ inline __attribute__((always_inline)) void check_valid_resolution(uint8_t res) {
_analog_options = (_analog_options & 0xF0) | (temp ? res : 10); // just set that variable. The new ADC only wants to be told the resolution when it starts a conversion
return temp;
}
int8_t getAnalogReadResolution() {
int8_t getAnalogReadResolution() {
return _analog_options & 0x0F;
}
void analogReference(uint8_t mode) {
Expand Down

0 comments on commit add22f9

Please sign in to comment.