Skip to content

Commit

Permalink
Added #define for simpler use check
Browse files Browse the repository at this point in the history
  • Loading branch information
terjeio committed May 28, 2021
1 parent 37a2ea9 commit edd243a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stepdir_map.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ static uint32_t dir_outmap[sizeof(c_dir_outmap) / sizeof(uint32_t)];

#if (STEP_OUTMODE == GPIO_MAP) || (DIRECTION_OUTMODE == GPIO_MAP)

#define USE_STEPDIR_MAP 1

static void stepdirmap_init (settings_t *settings)
{
uint_fast8_t i;
Expand Down

0 comments on commit edd243a

Please sign in to comment.