Skip to content

Commit

Permalink
fix for #268 (#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
scanner-darkly authored Jun 20, 2021
1 parent f03039e commit 5e1bf91
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
- **NEW**: alias: `EV` for `EVERY`
- **NEW**: live mode dashboard
- **NEW**: ops to control live mode: `LIVE.OFF`, `LIVE.VARS`, `LIVE.GRID`, `LIVE.DASH`, `PRINT`
- **FIX**: `PN.ROT` parameters are swapped

## v3.2.0

Expand Down
1 change: 1 addition & 0 deletions docs/whats_new.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
- **NEW**: alias: `EV` for `EVERY`
- **NEW**: live mode dashboard
- **NEW**: ops to control live mode: `LIVE.OFF`, `LIVE.VARS`, `LIVE.GRID`, `LIVE.DASH`, `PRINT`
- **FIX**: `PN.ROT` parameters are swapped

## v3.2.0

Expand Down
4 changes: 3 additions & 1 deletion src/ops/patterns.c
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,9 @@ static void op_P_ROT_get(const void *NOTUSED(data), scene_state_t *ss,

static void op_PN_ROT_get(const void *NOTUSED(data), scene_state_t *ss,
exec_state_t *NOTUSED(es), command_state_t *cs) {
p_rotate(ss, cs_pop(cs), cs_pop(cs));
int16_t pn = cs_pop(cs);
int16_t rot = cs_pop(cs);
p_rotate(ss, pn, rot);
}

const tele_op_t op_P_ROT = MAKE_GET_OP(P.ROT, op_P_ROT_get, 1, false);
Expand Down

0 comments on commit 5e1bf91

Please sign in to comment.