Fix sample time adc settings. Calibrate ADC when we init it.
[bertos.git] / bertos / io / kblock_ram.h
index b003a601ba662c10da85bf23d599c55a778e88f9..1ae8933bc5678c386592febbe606e60303188c87 100644 (file)
@@ -35,6 +35,8 @@
  * \brief KBlock interface
  */
 
+#ifndef KBLOCK_RAM_H
+#define KBLOCK_RAM_H
 
 #include "kblock.h"
 
@@ -54,3 +56,6 @@ INLINE KBlockRam *KBLOCKRAM_CAST(KBlock *b)
        return (KBlockRam *)b;
 }
 
+void kblockram_init(KBlockRam *ram, void *buf, size_t size, size_t block_size);
+
+#endif /* KBLOCK_RAM_H */