diff --git a/Documentation/bluetooth/ess.rst b/Documentation/bluetooth/ess.rst
index eabc92ade9abd4c3f5f36d2769095370509223f4..0d4005e23a1a230e77fd887098feddbc124d4fc9 100644
--- a/Documentation/bluetooth/ess.rst
+++ b/Documentation/bluetooth/ess.rst
@@ -17,7 +17,7 @@ If :ref:`bsec_api` is enabled the following additional estimates are available:
  - Indoor air quality (IAQ estimate
  - Equivalent CO2 (eCO2) estimate
 
-Please refer to :ref:`bme680` for more information about BSEC.
+Please refer to :py:mod:`bme680` for more information about BSEC.
 
 
 If notifcations are enabled a measurement of all values is performed every 3 seconds. For each measurement a notification is sent for the characteristics which have notifications enabled.
diff --git a/Documentation/pycardium/png.rst b/Documentation/pycardium/png.rst
index d4a4aa41c4a9860e77da4b1ae137c49c779e93fd..18c7290a560305baa69ac6fe9f652db46e925593 100644
--- a/Documentation/pycardium/png.rst
+++ b/Documentation/pycardium/png.rst
@@ -1,5 +1,5 @@
 ``png`` - PNG Decoder
-===============
+=====================
 The ``png`` module provides functions to decode PNG files into raw pixel data
 which can be displayed using the card10's display or its LEDs.
 
diff --git a/epicardium/epicardium.h b/epicardium/epicardium.h
index 7908c74f0f4bea1e6ed1a0532c2452cbc4ab0ad9..b9e4df416c03f4e1236691613cc3a0b48250dd5f 100644
--- a/epicardium/epicardium.h
+++ b/epicardium/epicardium.h
@@ -2631,7 +2631,7 @@ API(API_BLE_SET_MODE, void epic_ble_set_mode(bool bondable, bool scanner));
 /**
  * Retrieve a scan report from the queue of scan reports.
  *
- * :param struct epic_scan_report* rpt: Pointer where the report will be stored.
+ * :param struct\ epic_scan_report* rpt: Pointer where the report will be stored.
  *
  * :return: ``0`` on success or a negative value if an error occured. Possible
  *    errors:
@@ -2645,7 +2645,7 @@ API(API_BLE_GET_SCAN_REPORT, int epic_ble_get_scan_report(struct epic_scan_repor
  * Send an input report to the host.
  *
  * :param uint8_t report_id: The id of the report to use. 1: keyboard, 2: mouse, 3: consumer control
- * :param uint8_t *data: Data to be reported.
+ * :param uint8_t* data: Data to be reported.
  * :param uint8_t len: Length in bytes of the data to be reported. Maximum length is 8 bytes.
  *
  * :return: ``0`` on success, ``1`` if the report is queued or a negative value
diff --git a/epicardium/modules/stream.h b/epicardium/modules/stream.h
index fe23b860aacc96e01ecd6e92c6952ea7e67465c6..6672de6a0892a426a3b7fb4226ddb6d1f94a3a40 100644
--- a/epicardium/modules/stream.h
+++ b/epicardium/modules/stream.h
@@ -11,6 +11,7 @@
 #include "queue.h"
 #else
 typedef unsigned int size_t;
+typedef int bool;
 typedef void *QueueHandle_t;
 #endif /* __SPHINX_DOC */