https://bitbucket.org/daniel_fort/magic-lantern
Raw File
Tip revision: 3fc7be4e8712b3897c247a5aaca1a477032b407b authored by a1ex on 22 October 2013, 21:27:23 UTC
Close branch marekk17/60d-camera_raw_photo-internalsh-1369493574557.
Tip revision: 3fc7be4
misc.c
// misc functions specific to 60D/109

#include <dryos.h>
#include <property.h>
#include <bmp.h>
#include <config.h>
#include <consts.h>
#include <lens.h>
#include <version.h>

// gcc mempcy has odd alignment issues?
void
my_memcpy(
    void *       dest,
    const void *     src,
    size_t          len
)
{
    while( len-- > 0 )
        *(uint8_t*)dest++ = *(const uint8_t*)src++;
}
back to top