Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: whitequark/libfx2
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4cc3192dbfeb
Choose a base ref
...
head repository: whitequark/libfx2
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0ca7f8dfc00a
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Jul 27, 2019

  1. Simplify. NFC.

    whitequark committed Jul 27, 2019
    Copy the full SHA
    0ca7f8d View commit details
Showing with 2 additions and 4 deletions.
  1. +1 −2 firmware/library/bswap.c
  2. +1 −2 firmware/library/delay.c
3 changes: 1 addition & 2 deletions firmware/library/bswap.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include <fx2lib.h>
#include <fx2regs.h>
#include <stdint.h>

uint16_t bswap16(uint16_t value) __naked {
value;
3 changes: 1 addition & 2 deletions firmware/library/delay.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include <fx2delay.h>
#include <fx2regs.h>
#include <stdint.h>
#include <bits/asmargs.h>

// Spin for exactly max(24, DP*4) cycles (i.e. max(96, DP*16) clocks), including the call of