Your ROOT_URL in app.ini is https://source.parasitstudio.de:63000/ but you are visiting https://source.parasitstudio.de/wirtz/FixedPointsArduino/commit/5c2b12acd12224330f236f7f851e4657443905f1?style=unified&whitespace=ignore-eol You should set ROOT_URL correctly, otherwise the web may not work correctly.

Depend on Arduino.h only if platform is AVR

When the platform is not Arduino, we can't use
random(), but that appears to be the only Arduino
dep in the entire library. Avoiding a dependency
on Arduino allows using the FixedPoint library
on native, which is useful for unit tests.
pull/103/head
James Aguilar 4 months ago
parent 149c81247a
commit 5c2b12acd1
  1. 3
      src/FixedPoints/Details.h

@ -14,7 +14,6 @@
#pragma once
#include <Arduino.h>
#include <limits.h>
#include <stdint.h>
@ -33,6 +32,8 @@
#if !defined(__AVR__)
#define FIXED_POINTS_NO_RANDOM
#else
#include "Arduino.h"
#endif
// Pay no attention to the man behind the curtains

Loading…
Cancel
Save